From 2331d99bc98449c5e43299457e2db80748d022e1 Mon Sep 17 00:00:00 2001 From: kayomn Date: Sun, 23 Apr 2023 16:02:34 +0100 Subject: [PATCH] Add missing push_table to Kym compiler --- source/kym/bytecode.zig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/kym/bytecode.zig b/source/kym/bytecode.zig index 446c035..9f99b68 100755 --- a/source/kym/bytecode.zig +++ b/source/kym/bytecode.zig @@ -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);