Hello Xtend experts!
I work only a couple of weeks with Xtend and am not very familiar with it yet.
I have a simple question. In my code I tried to use a construction like this:
var bool_var = ( /* some boolean expression */ )
// ... some code ...
bool_var |= ( /* another boolean expression */ )
But I get the error message "
No viable alternative at input '|'". Of course I could write it like this, but it's not really nice.
bool_var = bool_var || (...)
Does Xtend really not support such operators (|=, &=) or what is the correct short syntax for that?
Thanks for your answers in advance!