[Xotcl] Error or normal behavior?

Victor Mayevski vitick at gmail.com
Wed Dec 8 05:40:32 CET 2010

It came to my attention that [namespace import -force nx::*] is a
requirement and not an option, otherwise things don't work right.

nx::Class create C
C method init args {puts [self]; next}
C create c
#error, commands "self" and "next" do not exist, but if I first do
[namespace import -force nx::*], everything works fine.

This is not how I thought the namespaced commands should work. Is this
a feature or a bug? If not a bug, then it needs to be clearly

More information about the Xotcl mailing list