pharo
pharo copied to clipboard
[RB] Extract method from a literal array element breaks
- Given
myMethod
^ #( #x )
- Select the
#x - Extract method using the
(R) Extract method and occurrencesoption with selectorfoo
This will create =>
myMethod
^ #( self foo )
Which is incorrect because now we have a literal array with two elements (the symbol self and the symbol foo)