-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Class names and case sesitivity #1454
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
Labels
Comments
How come this issue does not manifest itself with scalac? |
Also, is there any way to fix this other than completely disallowing classes to have the same case-insensitive name? |
Scalac doesn't generate a class with static forwarders for inner objects. For toplevel objects and classes it has the same issue on OS X. |
Seen that this is not fixed by scalac either, I change to enhancement |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
scala.collection.immutable.Stream
defines innerclass Cons
and an innerobject cons
.The second one triggers creation of a
class cons
with static forwarders, that are used in separate compilation and that bears TASTY.OS X has case-insensitive filesystem and
Cons.class
andcons.class
overwrite each-other.Manifests itself with a funny exception:
The text was updated successfully, but these errors were encountered: