We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
java.lang._
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
The current error messages are also not helpful to understand that those definitions are shadowed.
scala> class Compiler scala> new Compiler | ^^^^^^^^ |constructor Compiler cannot be accessed as a member of Compiler from module class rs$line$7$.
scala> class Appendable scala> new Appendable 1 |new Appendable | ^^^^^^^^^^ | Appendable is a trait; it cannot be instantiated
scala> class Byte scala> new Byte 1 |new Byte | ^^^^ | Byte is abstract; it cannot be instantiated
The text was updated successfully, but these errors were encountered:
Also see comment https://github.com/lampepfl/dotty/pull/11129/files#r559526476
Sorry, something went wrong.
REPL definitions should shadow classpath and root contexts.
#7635 (comment)
Merge pull request #12303 from griggt/fix-11146
c6debb7
Fix #11146: Don't re-add root imports to context in REPLFrontEnd
griggt
Successfully merging a pull request may close this issue.
The current error messages are also not helpful to understand that those definitions are shadowed.
The text was updated successfully, but these errors were encountered: