Skip to content

Commit c33b0c3

Browse files
committed
Fix debugger support for ClassGhosts (simulation hooks was broken by deprecations)
1 parent 5fb42ed commit c33b0c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Ghost-ClassGhost/GHInstanceMessagesInterceptor.class.st

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,15 @@ GHInstanceMessagesInterceptor class >> prepareCannotInterpretMethodFor: selector
4949
method := self compiledMethodAt: methodName ifAbsent: [ ^self error: 'Please implement method ', methodName, ' on instance side for new num args'].
5050

5151
copy := method copy.
52-
copy propertyValueAt: #canNotInterpretSelector put: selector.
52+
copy propertyAt: #canNotInterpretSelector put: selector.
5353
^copy
5454
]
5555

5656
{ #category : #'simulation trick' }
5757
GHInstanceMessagesInterceptor class >> simulateCannotInterpretIn: trickMethodContext [
5858
"I am called from special methods which created to support debugging of methods which receiver class was proxified by cannotInterpret: trick"
5959
| message selector receiver |
60-
selector := trickMethodContext method propertyValueAt: #canNotInterpretSelector.
60+
selector := trickMethodContext method propertyAt: #canNotInterpretSelector.
6161
message := Message selector: selector arguments: trickMethodContext arguments.
6262
receiver := trickMethodContext receiver.
6363

0 commit comments

Comments
 (0)