-
Notifications
You must be signed in to change notification settings - Fork 21
dotty compat: no inner classes with name clashes #11360
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
Comments
Dotty does not allow name clashes of inner classes, and the inner class is polluting Numeric's interface anyway. Note that a similar case can be made for Ordering#Ops. Also note that this breaks source compatibility. Fixes scala/scala-dev#156
#514 has a small amount of additional information and evidence that this is still a going concern |
this came up again at the SIP meeting today. the need to account for class shadowing led to a wart in TASTy ( |
Fixes scala/bug#8353 Fixes scala/bug#11360 This deprecates nested class shadowing for Dotty compatibilty.
Is this a duplicate of #8353? |
Fixes scala/bug#8353 Fixes scala/bug#11360 This deprecates nested class shadowing for Dotty compatibilty.
duplicate of #8353 |
Fixes scala/bug#8353 Fixes scala/bug#11360 This deprecates nested class shadowing for Dotty compatibilty.
revive scala/scala#4832
The text was updated successfully, but these errors were encountered: