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

Nested class shadowing in "override" position #62

Open
eed3si9n opened this issue Mar 6, 2020 · 0 comments
Open

Nested class shadowing in "override" position #62

eed3si9n opened this issue Mar 6, 2020 · 0 comments

Comments

@eed3si9n
Copy link
Owner

eed3si9n commented Mar 6, 2020

Ref scala/scala#8705 / scala/bug#8353

steps

Compile using the latest 2.13.x nightly (https://scala-ci.typesafe.com/job/scala-2.13.x-integrate-community-build/3267/) or 2.13.2 when it comes out.

sbt> set ThisBuild/resolvers += "scala-integration" at "https://scala-ci.typesafe.com/artifactory/scala-integration/"
sbt> ++2.13.2-bin-53ba87a!
sbt> compile

problem

Community Builds discovered there are some nested classes in "override" position.

[treehugger] [warn] /home/jenkins/workspace/scala-2.13.x-integrate-community-build/target-0.9.16/project-builds/treehugger-ff89fa5e75415075385d291e902d1a75e464a1c1/library/src/main/scala/treehugger/TreePrinters.scala:37: shadowing a nested class of a parent is deprecated but class TreePrinter shadows trait TreePrinter defined in trait TreePrinters; rename the class to something else

expectation

Nothing for now, but consider renaming them when you can.

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

No branches or pull requests

1 participant