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
Somewhat similarly to #11657 , the following code:
case class Foo(x: Int) extends AnyVal
produces:
Auto-application to `()` is deprecated. Supply the empty argument list `()` explicitly to invoke method hashCode,
[warn] or remove the empty argument list from its definition (Java-defined methods are exempt).
[warn] In Scala 3, an unapplied method like this will be eta-expanded into a function.
when compiling with -Xsource:3.0
The text was updated successfully, but these errors were encountered:
Somewhat similarly to #11657 , the following code:
produces:
when compiling with
-Xsource:3.0
The text was updated successfully, but these errors were encountered: