You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A unary varargs method sits between nullary methods that sometimes get a
() argument inferred (i.e. for methods coming from Java) and other
methods that can be eta expanded. The safest strategy for them is to do
neither, and expect either an explicit expected function type, or an
explicit argument. That's also what Scala 2 does.
Fixes#16820
Reclassifies #14567 to be a neg test (with the error message suggested
in the original issue for #14567)
0 commit comments