groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jochen Theodorou <>
Subject Re: Closure does not see field when setting value
Date Thu, 10 Nov 2016 00:42:10 GMT
On 09.11.2016 22:53, Krzysztof Kowalczyk wrote:
> Thanks,
> I understand why it is happening. I don't understand why someone would
> want the binding to be created on the fly in such way. It is
> counterintuitive for me. It has serious consequences and I don't see a
> use case where I would want such behaviour (for the "set").

so how do you define a variable and use that variable in a method in a 

bye Jochen

View raw message