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:
void test(List<String> list) { def array = list.stream().toArray(String[]::new) }
The type of "array" should be String[], but is displayed as A[] which is the type parameter of the method.
String[]
A[]
The text was updated successfully, but these errors were encountered:
Fix for #1110: closure return type can help to infer SAM return type
1a40ec1
Sorry, something went wrong.
eric-milles
No branches or pull requests
Consider the following:
The type of "array" should be
String[]
, but is displayed asA[]
which is the type parameter of the method.The text was updated successfully, but these errors were encountered: