[squeak-dev] The Inbox: Kernel-fbs.546.mcz
nicolas.cellier.aka.nice at gmail.com
Tue Feb 15 22:00:43 UTC 2011
2011/2/15 Nicolas Cellier <nicolas.cellier.aka.nice at gmail.com>:
> I'm just wondering: does a Metaclass have a category ?
> on one hand, plenty of #category senders are protected with
> #theNonMetaClass and we could do the same
> on the other hand, we could just simplify lot of other code with this
But to simplify other codesafely we might have to implement #category
in ClassTrait, PseudoMetaclass.
> 2011/2/15 <commits at source.squeak.org>:
>> A new version of Kernel was added to project The Inbox:
>> ==================== Summary ====================
>> Name: Kernel-fbs.546
>> Author: fbs
>> Time: 15 February 2011, 4:04:05.286 pm
>> UUID: 89f8153f-e938-c742-9f8b-002d8e55612c
>> Ancestors: Kernel-nice.545
>> Allow one to declare a new class when one refers to the as-yet-undeclared class in a class-side method.
>> =============== Diff against Kernel-nice.545 ===============
>> Item was added:
>> + ----- Method: Metaclass>>category (in category 'organization') -----
>> + category
>> + ^ thisClass category!
More information about the Squeak-dev