[squeak-dev] The Trunk: Kernel-mt.1170.mcz

Chris Muller asqueaker at gmail.com
Sat May 26 19:39:23 UTC 2018


I agree with Eliot, "Reference" can mean all sorts of things, so it's
very plausible that an application might implement
Object>>#isReference for its own purposes.  We should take care
to not let the class library accidentally crowd out the namespace.



On Thu, May 24, 2018 at 2:31 PM, Eliot Miranda <eliot.miranda at gmail.com> wrote:
> Hi Marcel,
>
>
>     for me, isReference is far too general a selector for this.  Why not
> isCodeReference or isSmalltalkCodeReference?
>
> On Thu, May 24, 2018 at 1:25 AM, <commits at source.squeak.org> wrote:
>>
>> Marcel Taeumel uploaded a new version of Kernel to project The Trunk:
>> http://source.squeak.org/trunk/Kernel-mt.1170.mcz
>>
>> ==================== Summary ====================
>>
>> Name: Kernel-mt.1170
>> Author: mt
>> Time: 24 May 2018, 10:24:50.225621 am
>> UUID: 722cd140-f6f2-8642-be85-61be05c77c92
>> Ancestors: Kernel-mt.1169
>>
>> Harmonize method reference and class references.
>>
>> =============== Diff against Kernel-mt.1169 ===============
>>
>> Item was removed:
>> - ----- Method: CompiledCode>>printSignatureOn: (in category 'printing')
>> -----
>> - printSignatureOn: aStream
>> -       "Print a string that can be used to access the currently installed
>> method."
>> -       aStream print: self methodClass;
>> -                nextPutAll: '>>';
>> -                nextPutAll: self selector storeString!
>>
>> Item was added:
>> + ----- Method: Object>>isClassReference (in category 'testing') -----
>> + isClassReference
>> +
>> +       ^ false!
>>
>> Item was added:
>> + ----- Method: Object>>isReference (in category 'testing') -----
>> + isReference
>> +
>> +       ^ self isClassReference or: [self isMethodReference]!
>
>
>
> _,,,^..^,,,_
> best, Eliot
>
>
>


More information about the Squeak-dev mailing list