Skip to content

Commit d32896b

Browse files
authored
undo that wasn't very good
1 parent ba5c03d commit d32896b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/irgen.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1733,7 +1733,7 @@ class ScriptTreeGenerator {
17331733
kind: 'pen.stamp'
17341734
};
17351735
case 'procedures_return': {
1736-
const topBlock = this.getBlockById(this.script.topBlockId);
1736+
const topBlock = this.getBlockById(this.thread.topBlock);
17371737
return {
17381738
kind: 'procedures.return',
17391739
return: this.descendInputOfBlock(block, 'return'),

0 commit comments

Comments
 (0)