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? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Consider the following:
void test(Map<String, String> map) { def eSet = map.entrySet() def eStr = eSet.stream() def kStr = eStr.map(Map.Entry::getKey) def kSet = kStr.toSet() }
The inferred type of "kStr" is Stream<Object> where Stream<String> is expected.
Stream<Object>
Stream<String>
see GROOVY-11259
The text was updated successfully, but these errors were encountered:
Fix for #1527: use first param type as object type for Type::nonStatic
Type::nonStatic
dca052d
GROOVY-10734, GROOVY-11259
Sorry, something went wrong.
eric-milles
No branches or pull requests
Consider the following:
The inferred type of "kStr" is
Stream<Object>
whereStream<String>
is expected.see GROOVY-11259
The text was updated successfully, but these errors were encountered: