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
$ scalac -d out tests/allan/Test.scala -unchecked
tests/allan/Test.scala:2: warning: The outer reference in this type test cannot be checked at run time.
final case class Foo(x: Int)
The warning is only emitted if the class is final. Dotty does not emit a warning. Is the warning legitimate? Should we also emit a warning?
The text was updated successfully, but these errors were encountered:
When compiled with scalac a warning is emitted:
The warning is only emitted if the class is final. Dotty does not emit a warning. Is the warning legitimate? Should we also emit a warning?
The text was updated successfully, but these errors were encountered: