pharo-project / pharo

Pharo is a dynamic reflective pure object-oriented language supporting live programming inspired by Smalltalk.
http://pharo.org
Other
1.21k stars 356 forks source link

Code refactoring suggestion can propose a recursive call #17318

Open labordep opened 1 month ago

labordep commented 1 month ago

I have a method with a refactoring suggestion:

image

When I click on the suggestion I have that:

image

The problem is that the proposed code is a recursive call, and if I not pay attention (I can in the real life!) I introduce a bug in my method. The system should not propose this modification.

Version information: