We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Given this program
class A class a object Test { def main(args: Array[String]): Unit = { new a new A } }
scalac issues this warning:
pos.scala:2: warning: Class a differs only in case from A. Such classes will overwrite one another on case-insensitive filesystems. class a ^
I think dotc should do the same. Also affects pending/run/t920.scala which has a similar problem involving class/object on MacOS and Windows.
pending/run/t920.scala
The text was updated successfully, but these errors were encountered:
Fixed scala#1077 by not mangling private constructor...
fc20731
Fixed scala#1077 by not mangling private constructor names.
b016c5e
GenBCode has commented-out code to handle this: https://github.com/lampepfl/dotty/blob/3004af37018d2f64c08f33500becf939141ec2e8/compiler/src/dotty/tools/backend/jvm/GenBCode.scala#L190-L202
Sorry, something went wrong.
Fixed by #3897
DarkDimius
No branches or pull requests
Given this program
scalac issues this warning:
I think dotc should do the same. Also affects
pending/run/t920.scala
which has a similar problem involving class/object on MacOS and Windows.The text was updated successfully, but these errors were encountered: