Skip to content
New issue

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

@deprecatedOverriding and @deprecatedInheritance should be aware of @deprecated #8954

Closed
scabug opened this issue Nov 3, 2014 · 2 comments
Closed
Assignees

Comments

@scabug
Copy link

scabug commented Nov 3, 2014

@deprecatedOverriding and @deprecatedInheritance are competely unaware of @deprecated. For example:

  • a @deprecated class extending a @deprecatedInheritance class warns about inheriting being deprecated,
  • a @deprecated member or a member of a @deprecated class overriding a member marked @deprecatedOverriding warns about overriding being deprecated.

This happens all over the collection library when a collection is about to be made final and the children removed or made private, which causes a lot of useless deprecation warnings (not that anybody looks at the warnings...).

@scabug
Copy link
Author

scabug commented Nov 3, 2014

Imported From: https://issues.scala-lang.org/browse/SI-8954?orig=1
Reporter: @gourlaysama
Affected Versions: 2.11.5

@scabug scabug closed this as completed Nov 10, 2014
@scabug
Copy link
Author

scabug commented Nov 10, 2014

@lrytz said:
scala/scala#4100

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants