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

unexpected error: private class escapes its defining scope as part of a self type #6232

Closed
scabug opened this issue Aug 14, 2012 · 3 comments

Comments

@scabug
Copy link

scabug commented Aug 14, 2012

adriaanm/scala@c5c0b136d9

private abstract class TreeBuilderStrategy {
  // private commented out since it cause "error: private class TreeBuilderStrategy escapes its defining scope as part of type TreeBuilder.this.TreeBuilderStrategy"
+  /*private <-- BUG*/ abstract class TreeBuilderStrategy {

this used to compile

@scabug
Copy link
Author

scabug commented Aug 14, 2012

Imported From: https://issues.scala-lang.org/browse/SI-6232?orig=1
Reporter: @adriaanm

@SethTisue
Copy link
Member

if this is still reproducible in current Sclaa, can someone prove it by showing a self-contained reproduction for it...?

@som-snytt
Copy link

Example is not current source.

@SethTisue SethTisue removed this from the Backlog milestone Jul 20, 2021
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

3 participants