GemTalk / Rowan

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

Allow a rowanized method to be forcibly recompiled when source is identical #893

Closed dalehenrich closed 1 year ago

dalehenrich commented 1 year ago

Intrnal bug 50317 (GsNMethod>>recompileFromSource does not work for Rowanized methods ...) ... need a way to be able to force a recompile of a rowanized method. If a method references an obsolete class after upgrade, the method must be forcibly recompiled despite the fact that the source has not changed ...

Propose to add RwPrjBrowserToolV2>>forceRecompileMethod:dictionaries:inProtocol:forClassNamed:isMeta:inPackageNamed: that will directly create a modification for the method ... this technique should also be used to optimize single method compiles in other cases ...

dalehenrich commented 1 year ago

decided to implement as RwPrjBrowserToolV2 >> forceRecompileLoadedMethod:dictionaries:forClassNamed:isMeta: