If I use this syntax for an "or" with binding:
pensioner : (or Person( sex == "f", age > 60 )
Person( sex == "m", age > 65 ) )
I get a compile error. Is this syntax supported?
I can successfully use this syntax:
(or pensioner : Person( sex == "f", age > 60 )
pensioner : Person( sex == "m", age > 65 ) )
which works okay but I was wondering if the documentation or implementation is incorrect.