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

[v3] Behavior>>addCategory:environmentId: needs to have a Rowan hook ... #908

Open dalehenrich opened 8 months ago

dalehenrich commented 8 months ago

Behavior>>addCategory:environmentId: is the standard method for adding method categories to a class and Rowan needs to have a hook (_rwAddCategory:environmentId:) to be able to enforce package conventions when the class is packaged ... similar to #_rwMoveMethod:toCategory: and _rwCompileMethodForConditionalPackaging:symbolList:category:environmentId:ifUnpackagedDo: ... required as part of the fix for #875 ... since part of the fix for GemTalk/Jadeite#956 was to use addCategory: which currently bypasses Rowan altogether ...