Skip to content

Commit 2e5e16d

Browse files
committed
Fix emitting new bytecodes
Signed-off-by: Stefan Marr <[email protected]>
1 parent c5176b5 commit 2e5e16d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/som/compiler/bc/bytecode_generator.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def emit_push_argument(mgenc, idx, ctx):
2525

2626

2727
def emit_nil_local(mgenc, idx):
28-
emit2(mgenc, BC.nil_local, idx)
28+
emit2(mgenc, BC.nil_local, idx, 0)
2929

3030

3131
def emit_return_self(mgenc):

0 commit comments

Comments
 (0)