[Xotcl] Bug when changing class
Gustaf Neumann
neumann at wu-wien.ac.at
Mon Feb 7 21:20:28 CET 2005
Hi Kristoffer,
the bug happens as well under linux. it is not an OS X issue.
Currently, reclassing object to classes is not supposed to work
for xotcl (it is not supposed to crash either).
There are two fixes for that, one simple (don't allow reclassing of
objects to classes)
or a more complex one (do more or less a recreate automatically when
this happens;
it tries to keep the object information as far as possible).
did you try this example out of curiosity or do you have an interesting
example?
-gustaf
PS: i did not know that you are using a Mac...
Kristoffer Lawson schrieb:
> I know this is somewhat obscure but it nonetheless appears to be a bug:
>
> % package require XOTcl
> 1.3
> % xotcl::Object ob
> ::ob
> % ob class xotcl::Class
> % ob info class
> Bus error
>
> (On Mac OS X 10.3.7)
>
> I was interested to find out if it's possible to make an already
> existing object into a class dynamically :-) (Should it be?)
>
> / http://www.fishpool.com/~setok/
>
> _______________________________________________
> Xotcl mailing list
> Xotcl at alice.wu-wien.ac.at
> http://alice.wu-wien.ac.at/mailman/listinfo/xotcl
More information about the Xotcl
mailing list