[Xotcl] Property space bug

Gustaf Neumann neumann at wu.ac.at
Sun Feb 11 12:23:23 CET 2024


Hi Maksym,

you are right, the ignored error condition is a bug. The new version
raises an error in such cases. It is fixed locally and will be included
in the next release

All the best

-g

On 10.02.24 12:05, Maksym Zinchenko wrote:
> 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