-
Notifications
You must be signed in to change notification settings - Fork 21
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
Broken signature for inner case class of parametrized outer class (reference to non-existing type parameter) #4819
Comments
Imported From: https://issues.scala-lang.org/browse/SI-4819?orig=1 |
@gkossakowski said: Now, |
@paulp said: |
Commit Message Bot (anonymous) said: This commit fixes two major problems:
For details it's the best to check #4819, #4820 and First problem mentioned above was straightforward to The second one deserves more attention. From now, classes There's one caveat though: top level objects get two object A { class B } will be compiled into following classes: A, A$, A$B. Since non-top-level objects don't have a mirror class object A { object B { class C } } it's impossible to import C from Java. That's the tradeoff As a nice consequence of this change, we get better way to Fixes #4789 #4819 #4820 #4983 and possibly some Review by extempore, dragos. |
Came up with minimal test-case for this issue. My script badsigs.sh might turn out to be handy to test a possible fix for this:
The text was updated successfully, but these errors were encountered: