That's great! Thank you, Cédric.
Cheers,
Daniel.Sun
--
View this message in context:
http://groovy.329449.n5.nabble.com/Upgrade-of-TC-server-tp5736156p5736168.html
Sent from the Groovy Dev mailing list archive at Nabble.com.
Hi all,
Lambda expression for Groovy has been completed with a little
limitation, which is due to the existing closure whose parameter list can be
ambiguous to lambda expression, e.g. {a -> a} which can be parsed as a
lambda expression in a block, but we expect it a closure. In order to
res
On 17.10.2016 17:40, daniel_sun wrote:
Hi all,
Lambda expression for Groovy has been completed with a little
limitation, which is due to the existing closure whose parameter list can be
ambiguous to lambda expression, e.g. {a -> a} which can be parsed as a
lambda expression in a block,
Hi Jochen,
I agree with you that the parentheses is not that groovy when lambda
expression is a method parameter. In the past two days, I tried to achieve the
ideal implementation through a variety of ways, but some code have to be
duplicated, which is not elegant for the new parser.