diff --git a/source/tlang/compiler/codegen/instruction.d b/source/tlang/compiler/codegen/instruction.d index 70451860..fbdfde84 100644 --- a/source/tlang/compiler/codegen/instruction.d +++ b/source/tlang/compiler/codegen/instruction.d @@ -241,11 +241,11 @@ public final class StringLiteral : Value */ public class BinOpInstr : Value { - public const Instruction lhs; - public const Instruction rhs; + public const Value lhs; + public const Value rhs; public const SymbolType operator; - this(Instruction lhs, Instruction rhs, SymbolType operator) + this(Value lhs, Value rhs, SymbolType operator) { this.lhs = lhs; this.rhs = rhs;