Skip to content

Commit e815bb7

Browse files
committed
Merge 01696ec
2 parents 3c3aa6a + 01696ec commit e815bb7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/MethodProxies/MpMethodProxy.class.st

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,18 +84,18 @@ MpMethodProxy class >> buildPrototypesUpToArguments: maxNumberOfArguments [
8484
trapSelector := #trapMethod.
8585
1 to: numberOfArguments do: [ :i | trapSelector := trapSelector , #with: ].
8686
trapArguments := (1 to: numberOfArguments) collect: [ :i |
87-
ASTVariableNode named: 'arg' , i asString ].
87+
RBVariableNode named: 'arg' , i asString ].
8888

8989
originalAst selector: trapSelector.
9090
originalAst arguments: trapArguments.
9191

9292
argumentListNodes := originalAst allChildren select: [ :e | e value = #argumentList ].
93-
argumentListNodes do: [ :e | e replaceWith: (ASTArrayNode statements: trapArguments) ].
93+
argumentListNodes do: [ :e | e replaceWith: (RBArrayNode statements: trapArguments) ].
9494

9595
forwarders := originalAst sendNodes select: [ :e | e selector = #originalMessage ].
9696
forwarders do: [ :e |
97-
e replaceWith: (ASTMessageNode
98-
receiver: ASTVariableNode selfNode
97+
e replaceWith: (RBMessageNode
98+
receiver: RBVariableNode selfNode
9999
selector: trapSelector
100100
arguments: trapArguments) ].
101101
self class compile: originalAst formattedCode ]

0 commit comments

Comments
 (0)