diff options
| -rw-r--r-- | compiler.d | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -701,6 +701,12 @@ class Compiler { this.func.chunk.writeOp(OpCode.OP_IS_NIL, args[0].line); } + void compileToString(Form[] args) { + foreach (Form f; args) { + this.resolve(f); + } + } + @@ -828,6 +834,7 @@ class Compiler { case "->string": // does nothing at the moment, as primarily used for printing // and everything can be printed + this.compileToString(cons.tail); break; // LISTS |
