Maybe because `|=` is also the bitwise or operator...
# announcements
k
Maybe because
|=
is also the bitwise or operator and that would be translated as
or
, and they forgot to check for the boolean case.
a
I looked at it again after all this time and realised that
|=
in Java is the “compound assignment” for “boolean logical operator” (
|
), not for the “conditional-or operator” (
||
). So there was no bug there in the IDE 😛
k
That's good to know, thanks!