[Xotcl] error message lost when calling method during object
creation
Gustaf Neumann
neumann at wu-wien.ac.at
Wed Mar 21 12:25:18 CET 2007
Koen,
this should be fixed by the patch from january:
http://alice.wu-wien.ac.at/pipermail/xotcl/2007-January/005193.html
all the best
-gustaf
Koen Danckaert schrieb:
> Hi,
>
> It seems that error messages generated during object creation get lost
> sometimes. An example (using XOTcl 1.5.3 and tcl8.4.12):
>
> Define a class and a method foo with a typo in it:
>
> % Class C
> ::C
> % C instproc foo {} {puds foo}
>
> When foo is called on an existing object, we get the right error message:
> % C c
> ::c
> % c foo
> invalid command name "puds"
>
> However when foo is called during object creation, the error message
> is lost:
> % C d -foo
> during '::d foo'
> % set errorInfo
> during '::d foo'
> ::d ::xotcl::Object->configure
> ::C ::xotcl::Class->create
> ::C ::xotcl::Class->unknown
> invoked from within
> "C d -foo"
>
>
> Regards,
> Koen
> _______________________________________________
> 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