-
Notifications
You must be signed in to change notification settings - Fork 21
objects/classes inside package objects #4344
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
Imported From: https://issues.scala-lang.org/browse/SI-4344?orig=1 |
@odersky said: |
@retronym said:
I'm a touch skeptical about point #2, as we still need the package object to hold vals, defs, and type aliases. But I support the change on the grounds that it offers a better story for binary compatibly moving things between package and package object (especially in the light of implicit classes that motivate people to do this). |
seems out of scope now for Scala 2 |
I think they didn't consider inherited objects/classes |
Having just written this email, I am led to wonder if there's some reason we can't just lift classes and objects out of the package object into the package.
The text was updated successfully, but these errors were encountered: