eric-milles opened a new pull request, #2262:
URL: https://github.com/apache/groovy/pull/2262

   `ExecutorService` declares `submit(Callable)` and `submit(Runnable)` so add 
`submit(Closure)` to prevent routing of closures to the `Runnable` variant, 
which drops the return value.
   
   Add check in `MetaClassHelper#calculateParameterDistance` for `Closure` 
parameter and closure literal argument.
   
   see also GROOVY-10714


-- 
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: notifications-unsubscr...@groovy.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to