Closed
Description
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
Metadata
Metadata
Assignees
Labels
No labels