Skip to content

Commit 700abac

Browse files
authored
Merge pull request #109 from Ducasse/FixStepWillCreateBlock
Fix all the tests.
2 parents 2c73f45 + 3b885ac commit 700abac

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/Sindarin/InstructionStream.extension.st

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ Extension { #name : 'InstructionStream' }
44
InstructionStream >> willCreateBlock [
55
"next bytecode is a block creation"
66

7-
^ self method encoderClass isCreateFullBlockAt: pc in: self method
7+
^ (self method encoderClass isCreateBlockAt: pc in: self method) or:
8+
[ self method encoderClass isCreateFullBlockAt: pc in: self method]
89
]
910

1011
{ #category : '*Sindarin' }

0 commit comments

Comments
 (0)