Skip to content
Unstable

Changes

Summary

  1. Fix bug with obsolete classes and extension methods (details)
Commit 9f1f187e150b44badf63dfbf2f3cbf312bce6ffd by cyril
Fix bug with obsolete classes and extension methods

If you recompile a class with extension methods and remove it afterward, then the class stays as obsolete. This happens because of a bug creating duplicated entries in the packages extension maps.

I'm proposing a fix to not add new entries to the extension maps in case of recompilation. Coming with a comment and a regression test.

Fixes #17927
The file was modifiedsrc/Kernel-CodeModel-Tests/PackageTest.class.st (diff)
The file was modifiedsrc/Kernel-CodeModel/ClassDescription.class.st (diff)