groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Sun <realblue...@hotmail.com>
Subject Re: About the native-lambda branch
Date Sun, 14 Jan 2018 00:10:28 GMT
Hi Jochen,

> What I wish for in a static compile lambda is the following: 
> * bar is a parameter to the method generated for the lambda

I am trying to make native lambda support sharing local variables, but ASM
reports the following error[1]:
Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
	at org.objectweb.asm.Frame.merge(Frame.java:1501)

Have you ever encountered similar problems? Looking forward to your
suggestions :-)

Cheers,
Daniel.Sun

[1]
https://github.com/apache/groovy/blob/b6ea72dbf2ee4ab63fb1b96569de609679807a34/src/test/groovy/transform/stc/LambdaTest.groovy#L258



--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html

Mime
View raw message