Browse Source

BinaryOperatorExpressions are meant to evaluate to a value, they MUST be ValueInstructions

constants
Tristan B. V. Kildaire 10 months ago
parent
commit
1b002382d5
  1. 2
      source/tlang/compiler/codegen/instruction.d

2
source/tlang/compiler/codegen/instruction.d

@ -114,7 +114,7 @@ public final class LiteralValue : Value
*
* Any sort of Binary Operator
*/
public class BinOpInstr : Instruction
public class BinOpInstr : Value
{
import compiler.symbols.data;
private Instruction lhs;

Loading…
Cancel
Save