help-smalltalk
[Top][All Lists]
Advanced

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

[Help-smalltalk] Changing the superspace of a namespace


From: ZuLuuuuuu
Subject: [Help-smalltalk] Changing the superspace of a namespace
Date: Thu, 28 Jul 2011 15:44:26 -0700 (PDT)

Hello,

I was toying with some reflection features. When I try to change a
superspace of a namespace by using #superspace: message I usually get a
"doesNotUnderstand: #recompileAll" error. For example the code below:

Smalltalk addSubspace: #MySpace.
MySpace superspace: Kernel.


gives an error like this:

Object: DisabledPackage error: did not understand #recompileAll
MessageNotUnderstood(Exception)>>signal (ExcHandling.st:254)
Kernel.DisabledPackage class(Object)>>doesNotUnderstand: #recompileAll
(SysExcept.st:1407)
optimized [] in AbstractNamespace>>superspace: (AbstNamespc.st:410)
[] in Dictionary>>do: (Dictionary.st:357)
Dictionary(HashedCollection)>>do: (HashedColl.st:201)
Dictionary>>do: (Dictionary.st:357)
Namespace>>do: (Namespace.st:168)
Namespace(AbstractNamespace)>>superspace: (AbstNamespc.st:411)
UndefinedObject>>executeStatements (Temp/deneme (copy).st:2)


Is this a bug or should I do this in another way?

-----
Canol Gökel
--
View this message in context: 
http://forum.world.st/Changing-the-superspace-of-a-namespace-tp3702742p3702742.html
Sent from the Gnu mailing list archive at Nabble.com.



reply via email to

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