paulk-asert opened a new pull request, #2830:
URL: https://github.com/apache/groovy/pull/2830
…oads
The category error was keyed on exactly two arguments (category + closure),
so the varargs form use(A, B) { ... } fell through to generic no-such-method/
property errors. Detect any use() call resolving to the DGM extension methods
with a trailing closure. Also extend the error message to point at extension
modules as the type-checking-compatible alternative, and document the
limitation in the categories section of the metaprogramming guide.
--
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]