Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/Sindarin-Tests/SindarinDebuggerTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -1106,8 +1106,9 @@ SindarinDebuggerTest >> testMoveToNodeWhenNodeIsInIfTrueIfFalseBlock [

self assert: (sdbg readVariableNamed: #a) equals: 3.

sdbg stepOver.
"When you perform a stepOver, you quit the block and continue just after the ifTrue: message"
sdbg stepOver.
sdbg stepOver.
self assert: (sdbg readVariableNamed: #a) equals: 4
]

Expand Down Expand Up @@ -1407,9 +1408,8 @@ SindarinDebuggerTest >> testSkipCannotSkipReturnIfItIsTheLastReturn [
"we step until we arrive on the method node in `SindarinDebuggerTest>>#methodWithSeveralReturns`, which is mapped to the implicit return bycode."
scdbg step.
nodeWithImplicitReturn := scdbg methodNode.
3 timesRepeat: [ scdbg step ].

self assert: scdbg node identicalTo: nodeWithImplicitReturn.
[scdbg node == nodeWithImplicitReturn]
whileFalse: [ scdbg step ].
self assert: scdbg instructionStream willReturn.

"We skip the return node"
Expand Down
63 changes: 0 additions & 63 deletions src/Sindarin/InstructionStream.extension.st

This file was deleted.

Loading