"PackageOrganizer default packageOfClass: FileSystemError" returns the
category, whether it's a separate package or not. How do I get the mc
package?

The only thing I can think of is something like:
MCWorkingCopy allInstances detect: [ :e | e packageName beginsWith: aString
]
but it seems like there should be a built-in way, and the above is naive
e.g. if aString = 'Package', the condition will be true for Package and
PackageTests, which is wrong...

Thanks,
Sean

--
View this message in context: 
http://forum.world.st/Finding-the-package-of-a-class-tp4635070.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Reply via email to