Skip to content

Commit

Permalink
[feenkcom/gtoolkit#4155] reordering parameters should update snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
j-brant committed Nov 6, 2024
1 parent 243b485 commit 9252e41
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,11 @@ GtRenameMethodController >> swapParameterWithNext: anInteger [
{ #category : #private }
GtRenameMethodController >> updateCurrentNodeFor: aString [
| method |
method := GtPharoParser parse: aString.
method := GtPharoParser
parse: aString
startingAt: (self sourceCoderViewModel coder isForMethod
ifTrue: [ GtPharoParser startingStateForMethod ]
ifFalse: [ GtPharoParser startingStateForMethodSequence ]).
method
withAllNodesDo: [ :each |
(each class = self originalNode class
Expand Down

0 comments on commit 9252e41

Please sign in to comment.