[Xotcl] Property space bug

Maksym Zinchenko siqsuruq at gmail.com
Sat Feb 10 12:05:20 CET 2024


Hello, I think it's a small bug here. For example code with a space between
comma and word required :

nx::Class create demoClass {
:property {fiscalyear:integer, required}

:method init {args} {
:test
}

:public method test {} {
puts ${:fiscalyear}
}
}
demoClass create a
required
::a

will run without error and complains that fiscalyear is required.
Code without space will run as expected.

Thank you


More information about the Xotcl mailing list