diff --git a/source/tlang/compiler/codegen/instruction.d b/source/tlang/compiler/codegen/instruction.d index cf0165dc..aeb50f2c 100644 --- a/source/tlang/compiler/codegen/instruction.d +++ b/source/tlang/compiler/codegen/instruction.d @@ -156,7 +156,7 @@ public final class LiteralValue : Value public override string emit() { - return ""; + return to!(string)(data); } } @@ -246,7 +246,8 @@ public class BinOpInstr : Value public override string emit() { - return ""; + //TODO: Map SymbolType to maths operator (add support in the check.d module) + return lhs.emit()~to!(string)(operator)~rhs.emit(); } }