[Xotcl] NX object copy bug?

Victor Mayevski vitick at gmail.com
Thu Dec 16 01:26:08 CET 2010

Hello Gustaf,

When an object contains a setter, and if you do a copy of that object,
the variable gets copied but the setter method is not copied.

Object create o;
o setter s;
o s value;
o s;# returns "value"
o copy o1;
o1 s; # error: unable to dispatch method 's'

When I use "attribute" instead of "setter", it works fine.

More information about the Xotcl mailing list