Skip to content
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

delambdafy:method + genBCode: spurious warning about conflicting filenames #9097

Closed
scabug opened this issue Jan 19, 2015 · 2 comments
Closed
Assignees
Labels
Milestone

Comments

@scabug
Copy link

scabug commented Jan 19, 2015

lucmac:sandbox luc$ cat Test.scala 
package o
package a {
  class C {
    def hihi = List(1,2).map(_ * 2)
  }
}
package object a {
  def f = 1
}
lucmac:sandbox luc$ scalac -Ybackend:GenBCode -Ydelambdafy:method Test.scala 
Test.scala:4: warning: Class o.a.C$lambda$$hihi$1 differs only in case from o.a.C$lambda$$hihi$1. Such classes will overwrite one another on case-insensitive filesystems.
    def hihi = List(1,2).map(_ * 2)
                               ^
one warning found
@scabug
Copy link
Author

scabug commented Jan 19, 2015

Imported From: https://issues.scala-lang.org/browse/SI-9097?orig=1
Reporter: @lrytz
Affected Versions: 2.11.5

@scabug
Copy link
Author

scabug commented Jan 19, 2015

@lrytz said:
scala/scala#4263

@scabug scabug closed this as completed Feb 9, 2015
@scabug scabug added the backend label Apr 7, 2017
@scabug scabug added this to the 2.11.6 milestone Apr 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants