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
[error] 4 | l.forEach(x => println(x))
[error] | ^
[error] |object creation impossible, since def accept(x$0: T): Unit in trait Consumer in package java.util.function is not defined
[error] |(Note that
[error] | parameter T in def accept(x$0: T): Unit in trait Consumer in package java.util.function does not match
[error] | parameter Int in final def accept(x: Int): Unit in anonymous class Object with java.util.function.Consumer[? >: Int] {...}
[error] | )
Compiler version
3.0.0-RC3
Minimized code
Output
This works:
Maybe related to @smarter's PR #12131?
The text was updated successfully, but these errors were encountered: