Hello all,
Is it a bug or is it an intentional behavior:
This code compiles
{code}
void foo(Set<String> s) {}
void bar() {
foo(Collections.emptySet());
}
{code}
but this code doesn't:
{code}
void foo(Set<String> s) {}
void bar() {
foo((Set<String>)Collections.emptySet());
}
{code}
Lambda build 83.
Thanks
Anna