On Thu, Dec 19, 2013 at 02:01:38PM +0100, Holger Hans Peter Freyther wrote:

> > So it appears that the STCompiler is somehow "ignoring" the namespace
> > that I pass in? Paolo do you have an idea of why that is the case?
> 
> it is probably an issue with the symbol table.

Close. It is the DefaultPoolResolution>>#lookupBindingOf:. Even if the
current namespace is "Doo". "Doo" will be searched _after_ the Smalltalk
namespace.

So in STCompiler>>#compile:..

 aNamespace isNil ifFalse: [compiler addPool: aNamespace].


should probably become something like addPoolFirst: and STSymbolTable>>#
addPoolFirst should be added too.

comments?

_______________________________________________
help-smalltalk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to