help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-smalltalk] Small bug in STInST


From: Mike Anderson
Subject: [Help-smalltalk] Small bug in STInST
Date: 21 Mar 2004 01:21:17 +0000

In brief, it can fall over when you have more than two levels of
namespaces (including Smalltalk).

The attached files illustrate it: test-st-in-st-1.st files in
test-st-in-st-2.st, so that the STInST parser takes over the parsing,
and then you get the error.

Looking at STInST.STSymbolTable >> declareGlobals

it seems to me that:

    behavior allSharedPools do: [ :sp |
        self addPool: (Smalltalk at: sp)
    ].

should be:

    behavior allSharedPools do: [ :sp |
        self addPool: (behavior environment at: sp)
    ].

Incidentally, I notice that

Smalltalk isSmalltalk 

returns false (the declaration in AbstractNamespace is not overriden). 
That can't be right?

Regards,

Mike


Attachment: test-st-in-st-1.st
Description: Text document

Attachment: test-st-in-st-2.st
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]