Paul King created GROOVY-9130: --------------------------------- Summary: Native optimisation for callable method references Key: GROOVY-9130 URL: https://issues.apache.org/jira/browse/GROOVY-9130 Project: Groovy Issue Type: Improvement Reporter: Paul King
We currently do a native optimisation for this: {code} println 'hi'.transform(String::toUpperCase) // JDK12 {code} but default back to a closure method ref for this: {code} println String::toUpperCase('hi') {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)