I'm using ActiveState's 8.4 distribution on Windows XP, and am unable to explain the behaviour in the example below. <br><br>Shouldn't '-exact' be allowed as the default initializer for match? It seems to have something to do with the
<br>leading '-' since removing it seems to create the class Foo without issue. <br><br>Any help much appreciated.<br><br>thanks,<br>-shishir<br><br>C:\Tools\Tcl\lib\xotcl1.5.3>tclsh<br>% package require XOTcl<br>
1.5.3<br>% namespace import xotcl::*<br>% Class Foo -parameter {{match -exact}}<br> during '::Foo parameter'<br>% set errorInfo<br> during '::Foo parameter'<br> ::Foo ::xotcl::Object->configure<br> ::xotcl::Class ::xotcl::Class->create
<br> ::xotcl::Class ::xotcl::Class->unknown<br> invoked from within<br>"Class Foo -parameter {{match -exact}}"<br><br>Changing -exact to exact, the error is resolved. <br>% Class Foo -parameter {{match exact}}
<br>::Foo<br>