[squeak-dev] The Trunk: Monticello-bf.604.mcz
bert at freudenbergs.de
Mon Nov 24 21:08:37 UTC 2014
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.
Yes. I had a package that had a class used as singleton before. Then I replaced that with a global instance.
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.
- Bert -
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4142 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20141124/de472dd0/smime.bin
More information about the Squeak-dev