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

Deleting a method from duplicate class removes the classification from the method of original class in Pharo 12. #17324

Open ElvinPero opened 3 weeks ago

ElvinPero commented 3 weeks ago

Bug description Deleting a method X from duplicate class B removes the classification from the method X of original class A.

To Reproduce Steps to reproduce the behavior:

  1. Go to Pharo12 image.
  2. Create a class A and a method X.
  3. Classify method X as 'accessing' or any other.
  4. Duplicate class A and name it B.
  5. Remove method X from B (new).
  6. The method X in A (original) is classified as "as yet unclassified".

Expected behavior The method in original class should remain unaffected by change in duplicate class.

Video

https://github.com/user-attachments/assets/073dff73-d591-492f-8d5d-a47930bf69e6

Version information:

welcome[bot] commented 3 weeks ago

Thanks for opening your first issue! Please check the CONTRIBUTING documents for some tips about which information should be provided. You can find information of how to do a Pull Request here: https://github.com/pharo-project/pharo/wiki/Contribute-a-fix-to-Pharo

GitHub
Contribute a fix to Pharo
Pharo is a dynamic reflective pure object-oriented language supporting live programming inspired by Smalltalk. - pharo-project/pharo