Skip to content

Commit

Permalink
this is pharo-project/pharo#15596 for spec
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusDenker committed Dec 6, 2023
1 parent fdeba46 commit 9b9df08
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/Spec2-Code-Commands/SpCodeDebugItCommand.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,11 @@ SpCodeDebugItCommand >> compile: aStream for: anObject in: evalContext [
SpCodeDebugItCommand >> debug: aStream [

| method doItReceiver doItContext |
(self context respondsTo: #doItReceiver)
ifTrue: [
doItReceiver := self context doItReceiver.
doItContext := self context doItContext ]
ifFalse: [ doItReceiver := doItContext := nil ].
doItReceiver := self context doItReceiver.
doItContext := self context doItContext.

method := self compile: aStream for: doItReceiver in: doItContext.
method isNil ifTrue: [ ^ self ].
method ifNil: [ ^ self ].
self debug: method receiver: doItReceiver in: doItContext
]

Expand Down

0 comments on commit 9b9df08

Please sign in to comment.