Re: About eliminating ambiguities of method call with closure argument

2020-03-29 Thread Jochen Theodorou
On 29.03.20 14:17, Paul King wrote: Groovy's original rule was that a newline terminates a statement when it could sensibly finish (successfully complete an expression) at that point. So if you've opened a curly brace or bracket, for instance, the newline would not auto-terminate an

Re: About eliminating ambiguities of method call with closure argument

2020-03-29 Thread Paul King
Groovy's original rule was that a newline terminates a statement when it could sensibly finish (successfully complete an expression) at that point. So if you've opened a curly brace or bracket, for instance, the newline would not auto-terminate an expression/statement. The rule was later expanded