diff options
| author | mryouse | 2023-05-25 02:00:37 +0000 |
|---|---|---|
| committer | mryouse | 2023-05-25 02:00:37 +0000 |
| commit | d13ae11c4f7cccd8f5e3ad072597c55c9471a638 (patch) | |
| tree | 21dc02981028427df88aacec64b162aec903eb34 /compiler.d | |
| parent | b2a3dc3b78dd6ce60b7c5e685fbbb40c84434691 (diff) | |
fix def bug (maybe?) and block bug (maybe?)
Diffstat (limited to 'compiler.d')
| -rw-r--r-- | compiler.d | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -356,11 +356,6 @@ class Compiler { } void compileSymbol(Form form, ValueType expecting = ValueType.ANY) { - if (form.type != FormType.SYMBOL) { - writeln("NOT A SYMBOL!"); - } else { - writeln("it's a symbol"); - } Symbol sym = cast(Symbol)form; int arg = this.resolveLocal(sym); @@ -371,8 +366,6 @@ class Compiler { this.func.chunk.writeOp(OpCode.OP_GET_GLOBAL, sym.line); } - writefln("this is the addr: %d", arg); - // get the variable this.func.chunk.writeOp(to!ubyte(arg), sym.line); |
