paulk-asert opened a new pull request, #2991: URL: https://github.com/apache/groovy/pull/2991
…cals, and accept closure-taking GDK methods with pure closures @Pure may now be placed on parameters and local variables. An argument for a @Pure parameter, or a value assigned to a @Pure local, must be a closure or lambda whose body is pure and writes no captured variable, a method reference to a @Pure method, or another @Pure variable. Inside a @Pure method, invoking a @Pure parameter or local is pure, and closure-taking GDK and java.util.stream methods (collect, inject, findAll, map, filter, ...) are accepted when their functional arguments are pure. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
