[squeak-dev] The Trunk: Monticello-bf.604.mcz

Chris Muller asqueaker at gmail.com
Mon Nov 24 21:17:41 UTC 2014


On Mon, Nov 24, 2014 at 3:08 PM, Bert Freudenberg <bert at freudenbergs.de> wrote:
> On 24.11.2014, at 21:12, Levente Uzonyi <leves at elte.hu> wrote:
>>
>> On Mon, 24 Nov 2014, Chris Muller wrote:
>>
>>> When would a MethodDefinitions #actualClass not be a Class?
>>
>> When you are viewing a (not loaded) package which has a class with the same name as a global in your image. E.g. Transcript, or Smalltalk.
>>
>> Levente
>
> Yes. I had a package that had a class used as singleton before. Then I replaced that with a global instance.

Okay.  Writing version comments is the chance to consider future
readers and explain the "why" something was changed, since Monticello
can tell them the "what"..  Thanks.

> This is why SystemDict>>classNamed: checks for isBehavior. Maybe we should actually use that. Or something that lets you pass a flag to get the metaclass.

Yeah, I never use the Dictionary API on Smalltalk anymore.  In fact I
thought hte intent was to gradually deprecate that ever since
SmalltalkImage was factored out a few years ago.

>
> - Bert -
>
>
>
>


More information about the Squeak-dev mailing list