summaryrefslogtreecommitdiff
path: root/test/files/neg/t6534.check
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2013-04-23 13:55:41 -0700
committerPaul Phillips <paulp@improving.org>2013-04-23 15:39:21 -0700
commit1da48a45b62879c2bd2904342eeff7e6e568350a (patch)
treecdf5f7b1903d1523cb0391bda745bc9ca29836da /test/files/neg/t6534.check
parent0f1a004048089dc2f51c5e1a11419072102b896b (diff)
downloadscala-1da48a45b62879c2bd2904342eeff7e6e568350a.tar.gz
scala-1da48a45b62879c2bd2904342eeff7e6e568350a.tar.bz2
scala-1da48a45b62879c2bd2904342eeff7e6e568350a.zip
Eliminate a pile of -Xlint warnings.
Some unused private code, unused imports, and points where an extra pair of parentheses is necessary for scalac to have confidence in our intentions.
Diffstat (limited to 'test/files/neg/t6534.check')
-rw-r--r--test/files/neg/t6534.check7
1 files changed, 0 insertions, 7 deletions
diff --git a/test/files/neg/t6534.check b/test/files/neg/t6534.check
index 52e70cfa8a..c2e80b377a 100644
--- a/test/files/neg/t6534.check
+++ b/test/files/neg/t6534.check
@@ -1,9 +1,3 @@
-t6534.scala:4: warning: Implementation of equals inherited from trait Foo overridden in class Bippy1 to enforce value class semantics
-class Bippy1(val x: Int) extends AnyVal with Foo { } // warn
- ^
-t6534.scala:5: warning: Implementation of hashCode inherited from trait Ding overridden in class Bippy2 to enforce value class semantics
-class Bippy2(val x: Int) extends AnyVal with Ding { } // warn
- ^
t6534.scala:6: error: redefinition of equals method. See SIP-15, criterion 4. is not allowed in value class
class Bippy3(val x: Int) extends AnyVal { override def equals(x: Any) = false } // error
^
@@ -13,5 +7,4 @@ class Bippy4(val x: Int) extends AnyVal { override def hashCode = -1 }
t6534.scala:9: error: redefinition of equals method. See SIP-15, criterion 4. is not allowed in value class
case class Bippy6(val x: Int) extends AnyVal { override def productPrefix = "Dingo" ; override def equals(x: Any) = false } // error
^
-two warnings found
three errors found