[squeak-dev] The Inbox: Kernel-ct.1286.mcz
commits at source.squeak.org
commits at source.squeak.org
Sat Dec 14 16:32:36 UTC 2019
A new version of Kernel was added to project The Inbox:
http://source.squeak.org/inbox/Kernel-ct.1286.mcz
==================== Summary ====================
Name: Kernel-ct.1286
Author: ct
Time: 14 December 2019, 5:32:32.205612 pm
UUID: 7ec13d79-757f-4a46-a405-e6d931b303b0
Ancestors: Kernel-ct.1285
Refine proposal for #defaultCategoryForSelector: and provide a few default categories
=============== Diff against Kernel-ct.1285 ===============
Item was changed:
----- Method: ClassDescription>>defaultCategoryForSelector: (in category 'organization') -----
defaultCategoryForSelector: aSelector
+ | first |
+ first := aSelector findFeatures first.
+ (#(is has can) includes: first)
+ ifTrue: [^ #testing].
+ (#(as adapt adapted) includes: first)
+ ifTrue: [^ #converting].
^ nil!
More information about the Squeak-dev
mailing list
|