| author | |
| committer | |
| log | 0a23b89dd755e6b280205a92a5b4b19c545cb42d |
| tree | f3a11725c0c4df24c9d1359be3c6d91ed5a74c72 |
| parent | 80e21e9ff2ddee04f75a3b323353cd1fcf2da4be |
1 files changed, 1 insertions(+), 1 deletions(-)
src/core/Sema.zig+1-1| ... | ... | @@ -326,7 +326,7 @@ fn analyzeCodeInner(s: *Sema, in: Teg.Inst.Index) Error!Air.Inst.Ref { |
| 326 | 326 | const ty = try s.binTypeResolution(in, op, left_ty, right_ty); |
| 327 | 327 | |
| 328 | 328 | const left = try s.coerceRef(in.op(.lhs), lhs, ty); |
| 329 | const right = try s.coerceRef(in.op(.rhs), lhs, ty); | |
| 329 | const right = try s.coerceRef(in.op(.rhs), rhs, ty); | |
| 330 | 330 | |
| 331 | 331 | if (left.kind == .value and right.kind == .value) { |
| 332 | 332 | return (try s.comptimeBin( |