Skip to content

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

@dalehenrich

Description

@dalehenrich

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions