| ... | @@ -326,7 +326,7 @@ fn analyzeCodeInner(s: *Sema, in: Teg.Inst.Index) Error!Air.Inst.Ref { | ... | @@ -326,7 +326,7 @@ fn analyzeCodeInner(s: *Sema, in: Teg.Inst.Index) Error!Air.Inst.Ref { |
| 326 | const ty = try s.binTypeResolution(in, op, left_ty, right_ty); | 326 | const ty = try s.binTypeResolution(in, op, left_ty, right_ty); |
| 327 | | 327 | |
| 328 | const left = try s.coerceRef(in.op(.lhs), lhs, ty); | 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 | if (left.kind == .value and right.kind == .value) { | 331 | if (left.kind == .value and right.kind == .value) { |
| 332 | return (try s.comptimeBin( | 332 | return (try s.comptimeBin( |