blob: e76478324111627cf6340765db69f79e884e284d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
t7756b.scala:3: warning: comparing values of types Int and String using `==' will always yield false
case _ => 0 == ""
^
t7756b.scala:3: warning: Int and String are unrelated: they will most likely never compare equal
case _ => 0 == ""
^
error: No warnings can be incurred under -Xfatal-warnings.
two warnings found
one error found
|