[Xotcl] A question about parameter and default values.
Gustaf Neumann
neumann at wu-wien.ac.at
Sun May 27 13:36:05 CEST 2007
Dear Shishir,
You are right, this is a bug. If you can compile xotcl by yourself,
applying the attached patch will help. Alternatively (before the next
release), you can add the modified instproc "parameter" (from default.xotcl)
to your application, mayby guarding it with ...
if {$::xotcl::version$::xotcl::patchlevel eq "1.5.3"} ...
The patch will be included in the next releases (both the
bug-fix release 1.5.4 and the next major release 1.6.0).
The test went as well into our regression tests.
best regards
-gustaf neumann
Shishir Ramam schrieb:
> I'm using ActiveState's 8.4 distribution on Windows XP, and am unable
> to explain the behaviour in the example below.
>
> Shouldn't '-exact' be allowed as the default initializer for match? It
> seems to have something to do with the
> leading '-' since removing it seems to create the class Foo without
> issue.
>
> Any help much appreciated.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xotcl-default.patch
Type: text/x-patch
Size: 1174 bytes
Desc: not available
Url : http://alice.wu-wien.ac.at/pipermail/xotcl/attachments/20070527/cc7009ab/xotcl-default.bin
More information about the Xotcl
mailing list