groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel.Sun" <sun...@apache.org>
Subject About the native lambda
Date Fri, 22 Dec 2017 09:48:32 GMT
Hi all,

       I tried to generate bytecode for native lambda. Currently some basic
tests pass[1]

       The problem I am trying to resolve is how to get the method's name
and descriptor? [2] It seems the type flow analysis have to rely on the
existing static compilation...

       Any help is appreciated!

[1]
https://github.com/danielsun1106/groovy/blob/native-lambda/subprojects/parser-antlr4/src/test/resources/core/Lambda_02x.groovy
[2]
https://github.com/danielsun1106/groovy/blob/native-lambda/src/main/java/org/codehaus/groovy/classgen/asm/LambdaWriter.java#L75-L76

Cheers,
Daniel.Sun




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

Mime
View raw message