summaryrefslogtreecommitdiff
path: root/test/files/neg/checksensible.check
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2010-12-01 16:25:54 +0000
committerPaul Phillips <paulp@improving.org>2010-12-01 16:25:54 +0000
commita37284fdf7e2b2917c9e894a9b93c02d1defc983 (patch)
tree78e074b4ba89ed710ae15ea3bca11fbec606a695 /test/files/neg/checksensible.check
parent8a959d80f17eff0ebcc09defff16beac21909ed5 (diff)
downloadscala-a37284fdf7e2b2917c9e894a9b93c02d1defc983.tar.gz
scala-a37284fdf7e2b2917c9e894a9b93c02d1defc983.tar.bz2
scala-a37284fdf7e2b2917c9e894a9b93c02d1defc983.zip
More fiddling with checkSensible.
warnings. Fixed some bugs revealed by said warnings, and made some minor changes to avoid warnings. (Technically it's not a bug to have unrelated classes compare as equal, but it so often is a bug that it behooves us not to do it intentionally so the warnings stand out.) Disabled the most useful warning for the moment since it'd be wrong with some frequency. No review.
Diffstat (limited to 'test/files/neg/checksensible.check')
-rw-r--r--test/files/neg/checksensible.check10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/files/neg/checksensible.check b/test/files/neg/checksensible.check
index 67a76dd7be..9977739196 100644
--- a/test/files/neg/checksensible.check
+++ b/test/files/neg/checksensible.check
@@ -73,19 +73,19 @@ checksensible.scala:59: error: comparing values of types Int and Null using `=='
checksensible.scala:64: error: comparing values of types Bip and Bop using `==' will always yield false
(x1 == x2)
^
-checksensible.scala:75: error: comparing values of types EqEqRefTest.this.C3 and EqEqRefTest.this.Z1 using `==' will always yield false
+checksensible.scala:74: error: comparing values of types EqEqRefTest.this.C3 and EqEqRefTest.this.Z1 using `==' will always yield false
c3 == z1
^
-checksensible.scala:76: error: comparing values of types EqEqRefTest.this.Z1 and EqEqRefTest.this.C3 using `==' will always yield false
+checksensible.scala:75: error: comparing values of types EqEqRefTest.this.Z1 and EqEqRefTest.this.C3 using `==' will always yield false
z1 == c3
^
-checksensible.scala:77: error: comparing values of types EqEqRefTest.this.Z1 and EqEqRefTest.this.C3 using `!=' will always yield true
+checksensible.scala:76: error: comparing values of types EqEqRefTest.this.Z1 and EqEqRefTest.this.C3 using `!=' will always yield true
z1 != c3
^
-checksensible.scala:78: error: comparing values of types EqEqRefTest.this.C3 and java.lang.String using `!=' will always yield true
+checksensible.scala:77: error: comparing values of types EqEqRefTest.this.C3 and java.lang.String using `!=' will always yield true
c3 != "abc"
^
-checksensible.scala:87: error: comparing values of types Unit and Int using `!=' will always yield true
+checksensible.scala:88: error: comparing values of types Unit and Int using `!=' will always yield true
while ((c = in.read) != -1)
^
30 errors found