Chris Muller uploaded a new version of PackageInfo-Base to project The Trunk:
http://source.squeak.org/trunk/PackageInfo-Base-cmm.51.mcz==================== Summary ====================
Name: PackageInfo-Base-cmm.51
Author: cmm
Time: 12 January 2011, 1:53:18.512 pm
UUID: 80594283-3394-46ac-ba2f-bf1ba20885a5
Ancestors: PackageInfo-Base-cmm.50
- Added unnecessary, but appropriate #yourself.
=============== Diff against PackageInfo-Base-cmm.50 ===============
Item was changed:
----- Method: PackageInfo class>>named: (in category 'packages access') -----
named: aString
"Answer the PackageInfo with name aString."
| original replacement |
original := PackageOrganizer default
packageNamed: aString
ifAbsent: [].
^ (original isNil
or: [original class
~= (self classFor: aString)])
ifTrue: [replacement := self newNamed: aString.
original
ifNotNil: [replacement copySameFrom: original].
+ replacement register; yourself]
- replacement register]
ifFalse: [original]!