Add missing push_table to Kym compiler

This commit is contained in:
kayomn 2023-04-23 16:02:34 +01:00
parent c64767ba59
commit 2331d99bc9
1 changed files with 3 additions and 0 deletions

View File

@ -509,6 +509,9 @@ const Parser = struct {
}
}
try self.chunk.emit_opcode(.push_table);
try self.chunk.emit_operand(field_count);
if (is_call_argument) {
try self.chunk.emit_opcode(.call);
try self.chunk.emit_operand(1);