error when renaming a method with a string interpolation node #1

Open
opened 2026-09-25 11:51:31 +02:00 by estebanlm · 0 comments
Owner

when executing the refactor, it fails because the parsing in this methods does not seems to be using the plugin?

RBMethod>>parseTree
	"Returns a semantical AST based on the source code of the receiver, aMethod."

	| tree |
	tree := self parserClass
		  parseMethod: self source
		  onError: [ :str :pos | ^ nil ].
	tree ifNotNil: [ tree doSemanticAnalysis ].
	^ tree
when executing the refactor, it fails because the parsing in this methods does not seems to be using the plugin? ```smalltalk RBMethod>>parseTree "Returns a semantical AST based on the source code of the receiver, aMethod." | tree | tree := self parserClass parseMethod: self source onError: [ :str :pos | ^ nil ]. tree ifNotNil: [ tree doSemanticAnalysis ]. ^ tree ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pharo/StringInterpolation#1
No description provided.