We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
scala> [paulp@jon Desktop]$$ scala -deprecation scala> @deprecated("hi mom") case class Bob () <console>:4: warning: class Bob in object $$iw is deprecated: hi mom @deprecated("hi mom") case class Bob () ^
The text was updated successfully, but these errors were encountered:
Imported From: https://issues.scala-lang.org/browse/SI-2799?orig=1 Reporter: @paulp
Sorry, something went wrong.
@lrytz said: I guess the reason is the factory method in the companion object:
final <synthetic> object Bob extends java.lang.Object with () => $$iw.$$iw.Bob with ScalaObject { [...] case <synthetic> def apply(): $$iw.$$iw.Bob = new $$iw.this.Bob() [...] }
The solution is probably to mark the companion object deprecated as well.
@lrytz said: (In r22694) close #2799. companion objects of deprecated classes are also marked as deprecated. review by extempore.
lrytz
No branches or pull requests
The text was updated successfully, but these errors were encountered: