Since Java using the operator for something else in the future seems unlikely, and confusing it with the bitwise variety can already happen for the non-assignment version, I feel adding/activating &&= and ||= would put another arrow in the Groovy quiver... -------- Ursprüngliche Nachricht --------Von: Jochen Theodorou <blackd...@gmx.org> Datum: 11.04.18 14:37 (GMT+01:00) An: dev@groovy.apache.org Betreff: Re: Compound assignment for logic operators
Am 11.04.2018 um 13:56 schrieb mg: > Wait - since when does Java have logical or and and assignment > operators... ?-) it does not? ups... yes... |= and not ||= Strange... I thought I used it before in Java or Groovy... I had a very specific code in mind for that actually...