[Xotcl] namespace incompatibility by XOTcl 1.3.1 (XOTclIDE)

Artur Trzewik mail at xdobry.de
Thu Sep 2 20:27:13 CEST 2004


XOTclIDE does not run with XOTclI 1.3.1 because
of uncompatibility of the namespace handling.
Thank to Michael Heca for noting it.

I have played a little with xotcl and discovered following
behavior incompatibility that make problems by XOTclIDE.


package require XOTcl
namespace import xotcl::*

Object O
Class O::B
O::B instproc test {} {
    Class A
O::B create o
o test

# XOTcl 1.2 returns ::A
# XOTcl 1.3 returns ::O::A

using Class ::A solves the problem

Another one should not occours by any XOTcl programm
but by XOTclIDE this happened

Object O
Class O::A 
O::A proc test {} {
    A self
O::A create A
O::A test

# XOTcl 1.2 returns ::A
# XOTcl 1.3 returns ::O::A
# using ::A solves the problem

So probably even with XOTcl 1.3.2 XOTclIDE will not work
out of the box and need some changes.
So all XOTclIDE user be patience and wait for new version of XOTclIDE
that supports XOTcl 1.3. I will need also some time to support
new XOTcl functionality.

Artur Trzewik

More information about the Xotcl mailing list