summaryrefslogtreecommitdiff
path: root/test/files/neg/bug193.check
blob: 2b2e4485a5d384d87d19ebe3877c4ff637d4eff7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
actual = class Objectfalse
bug193.scala:39: warning: comparing values of types scala.Int and java.lang.Object using `==' will always yield false
     (0     ) == y;
              ^
actual = class Objectfalse
bug193.scala:41: warning: comparing values of types scala.Int and java.lang.Object using `!=' will always yield true
     (0     ) != y;
              ^
actual = class Objectfalse
bug193.scala:54: warning: comparing values of types scala.Int and java.lang.Object using `==' will always yield false
    (x     ) == y;
             ^
actual = class Objectfalse
bug193.scala:56: warning: comparing values of types scala.Int and java.lang.Object using `!=' will always yield true
    (x     ) != y;
             ^
four warnings found