pharo icon indicating copy to clipboard operation
pharo copied to clipboard

[RB] Extract method from a literal array element breaks

Open guillep opened this issue 1 year ago • 0 comments

  • Given
myMethod

    ^ #( #x )
  • Select the #x
  • Extract method using the (R) Extract method and occurrences option with selector foo

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)

guillep avatar Feb 15 '24 09:02 guillep