[ https://issues.apache.org/jira/browse/GROOVY-11055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul King closed GROOVY-11055. ------------------------------ > Support lambda expression as named value > ---------------------------------------- > > Key: GROOVY-11055 > URL: https://issues.apache.org/jira/browse/GROOVY-11055 > Project: Groovy > Issue Type: Improvement > Components: parser-antlr4 > Reporter: Eric Milles > Assignee: Daniel Sun > Priority: Minor > Fix For: 5.0.0-alpha-9 > > > The following example fails to parse: > {code:groovy} > m(name: p -> p.length()) > {code} > Replacing "p -> p.length()" with "\{ p -> p.length() \}" parses as expected. -- This message was sent by Atlassian Jira (v8.20.10#820010)