diff options
| author | mryouse | 2023-05-28 01:15:00 +0000 |
|---|---|---|
| committer | mryouse | 2023-05-28 01:15:00 +0000 |
| commit | 8bd6a9ec0b3b743d7479cd98677e92876dbccc4d (patch) | |
| tree | e248ec51fc6dfa31bbfc162a25bd7ab74686384b /compiler.d | |
| parent | 2312e0231eb2667858b1c712c20d0891cabfc74d (diff) | |
bugfix: bad formatting
Diffstat (limited to 'compiler.d')
| -rw-r--r-- | compiler.d | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -289,7 +289,7 @@ class Compiler { ValueType compileLess(Form[] args, ValueType expected) { if (args.length != 2) { - this.error(format("'<': expected [2] arguments, received %d", args.length) -1); + this.error(format("'<': expected [2] arguments, received %d", to!int(args.length)), -1); this.advance(); return ValueType.NIL; } @@ -307,7 +307,7 @@ class Compiler { ValueType compileGreater(Form[] args) { if (args.length != 2) { - this.error(format("'>': expected [2] arguments, received %d", to!int(args.length)) -1); + this.error(format("'>': expected [2] arguments, received %d", to!int(args.length)), -1); this.advance(); return ValueType.NIL; } |
