GemTalk / Jadeite

IDE for GemStone Smalltalk application development using Rowan code management
MIT License
6 stars 2 forks source link

`Move To Package` menu item gets walkback when moving class-side methods #1007

Open dalehenrich opened 7 months ago

dalehenrich commented 7 months ago

Looks like RowanClassService >> moveMethodSelectors:toPackageNamed: uses the theClass instead of theClass class:

moveMethodSelectors: methodSelectors toPackageNamed: thePackageName
    | targetPackageService |
    methodSelectors
        do: [ :selector | self theClass rwMoveMethod: selector toPackage: thePackageName ].
    self update.
    targetPackageService := (RowanPackageService forPackageNamed: thePackageName)
        update.
    (RowanProjectService new name: targetPackageService projectName) update

I've marked this as P1-critical, but in the grand scale of things JfP is more important at the moment ... walkback.txt