We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider the following:
import java.util.function.BiConsumer def <T> BiConsumer<String, List<T>> m(BiConsumer<String, ? super T> consumer) { return { text, list -> // or (text, list) -> { for (item in list) { consumer.accept(text, item) } } }
The types of "text", "list" and "item" are all unknown (Object). Code assist for any of these variables is limited.
See also GROOVY-10660
Derived from #1327
The text was updated successfully, but these errors were encountered:
Fix for #1373: method return type is target type for returned expression
c09df72
Sorry, something went wrong.
eric-milles
No branches or pull requests
Consider the following:
The types of "text", "list" and "item" are all unknown (Object). Code assist for any of these variables is limited.
See also GROOVY-10660
Derived from #1327
The text was updated successfully, but these errors were encountered: