Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dalehenrich opened this issue Feb 2, 2024 · 0 comments
Open
Assignees

Comments

@dalehenrich
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants