GemTalk / Rowan

a new project/package manager for Smalltalk that supports FileTree and Tonel repositories, and is independent of Monticello and Metacello
MIT License
14 stars 7 forks source link

v3.0 revisit implementation of RwPkgDisownTool >> disownClassAndExtensionMethods: #899

Open dalehenrich opened 1 year ago

dalehenrich commented 1 year ago

This method was added in v2.5 and was needed because it was necessary to disown an OBSOLETE class and all of it's extension methods from other packages ... BECAUSE ... the registry implementation was looking up the extension methods by name instead of class and since some obsolete classes are atomically renamed, it's name no longer matches the name of the loaded package under management ... should probably do a detect on the loaded class handle in all cases and never do name-based look ups in the registry methods ...