pharo icon indicating copy to clipboard operation
pharo copied to clipboard

[Refactorings] Bug on multiple application of RenameTemp (p12)

Open NicolasAnquetil opened this issue 4 months ago • 1 comments

Bug description When you apply Rename temp twice in a row in the same method (for 2 different temps/parameters)

  • either it produces an error
  • or it is not allowed, the option does not appear in the SourceCode submenu

To Reproduce Steps to reproduce the behavior:

  1. open a method definition with several temp variables / parameters
  2. apply rename temp refactoring on one vairable
  3. try to immediately apply on another variable
  4. See error

Screenshots 1 possible error (the 2nd rename temp was on a parameter named anEntity): image

another possible error image

Version information:

  • OS: Linux
  • Pharo Version 12

Additional context related to #17075 ?

NicolasAnquetil avatar Oct 07 '24 08:10 NicolasAnquetil