aboutsummaryrefslogblamecommitdiff
path: root/tests/untried/neg/case-collision.check
blob: 22cf105a4f3fb3acf50af0965756bc4d1ca25e89 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                                                                                                                 
case-collision.scala:5: warning: Class foo.BIPPY differs only in case from foo.Bippy. Such classes will overwrite one another on case-insensitive filesystems.
class BIPPY
      ^
case-collision.scala:11: warning: Class foo.HyRaX$ differs only in case from foo.Hyrax$. Such classes will overwrite one another on case-insensitive filesystems.
object HyRaX
       ^
case-collision.scala:8: warning: Class foo.DINGO$ differs only in case from foo.Dingo$. Such classes will overwrite one another on case-insensitive filesystems.
object DINGO
       ^
error: No warnings can be incurred under -Xfatal-warnings.
three warnings found
one error found