Skip to content

Conversation

@odersky
Copy link
Contributor

@odersky odersky commented Jan 15, 2020

Java does not have the same rules as Scala here. Also, there are problems
with package[private] which is translated to private[pkg]. In the test case,
the constructor is assumed to be visible up to the package (because it
is always annotated as such) which is further than the enclosing private class.

Java does not have the same rules as Scala here. Also, there are problems
with package[private] which is translated to private[pkg]. In the test case,
the constructor is assumed to be visible up to the package (because it
is always annotated as such) which is further than the enclosing private class.
@nicolasstucki nicolasstucki merged commit db233d4 into scala:master Jan 16, 2020
@nicolasstucki nicolasstucki deleted the fix-#7959 branch January 16, 2020 06:00
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

Successfully merging this pull request may close these issues.

2 participants