diff options
| author | Ben Winston | 2023-05-22 22:09:46 -0400 |
|---|---|---|
| committer | Ben Winston | 2023-05-22 22:09:46 -0400 |
| commit | 5b623d43c5681ed292a0d83a49255f035c40df91 (patch) | |
| tree | ad2a1ceee949b5067a83c8db39c79ebbecf049fc /dbg.d | |
| parent | ab6deb5eb1244f566c8a8b22022c68d50d5eb4d7 (diff) | |
compile-time typechecking WIP
Diffstat (limited to 'dbg.d')
| -rw-r--r-- | dbg.d | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -175,6 +175,8 @@ int disassemble(Chunk chunk, int offset) { return byteInstruction("OP_CALL", chunk, offset); case OpCode.OP_TYPE_CHECK_NUMBER: return simpleInstruction("OP_TYPE_CHECK_NUMBER", offset); + case OpCode.OP_TYPE_CHECK_BOOLEAN: + return simpleInstruction("OP_TYPE_CHECK_BOOLEAN", offset); default: writeln("unknown opcode?"); return offset + 1; |
