| ... | @@ -920,12 +920,6 @@ fn binTypeResolution(s: *Sema, src: Teg.Inst.Index, op: BinaryOp, lhs: Type, rhs | ... | @@ -920,12 +920,6 @@ fn binTypeResolution(s: *Sema, src: Teg.Inst.Index, op: BinaryOp, lhs: Type, rhs |
| 920 | } | 920 | } |
| 921 | | 921 | |
| 922 | fn comptimeBin(s: *Sema, op: BinaryOp, lhs: Value, rhs: Value) !Value { | 922 | fn comptimeBin(s: *Sema, op: BinaryOp, lhs: Value, rhs: Value) !Value { |
| 923 | std.debug.print("{} {s} {}\n", .{ | | |
| 924 | lhs.dump(s.ip), | | |
| 925 | @tagName(op), | | |
| 926 | rhs.dump(s.ip), | | |
| 927 | }); | | |
| 928 | | | |
| 929 | const left_ty = lhs.typeOf(s.ip); | 923 | const left_ty = lhs.typeOf(s.ip); |
| 930 | assert(rhs.typeOf(s.ip) == left_ty); | 924 | assert(rhs.typeOf(s.ip) == left_ty); |
| 931 | | 925 | |