"Jamie Webb" <
j@...> wrote
>...
>
http://lampsvn.epfl.ch/trac/scala/ticket/92>
> The behaviour is thanks to Scala's precedence rules. The above
> parenthesises as:
>
> (s += "B") + "C"
>
> That is, "B" is appended to s and the result stored back in s, and then
> "C" is appended but that result is discarded.
Now I understand it. In my poor opinion, this is for sure an issue to fix!
Thanks a lot.
Bye
Franco