summaryrefslogtreecommitdiff
path: root/test/files/pos/polymorphic-case-class.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-08-05 17:29:28 +0000
committerPaul Phillips <paulp@improving.org>2011-08-05 17:29:28 +0000
commitf7f5b50848c8c0efd30abe17467d1ef443760ec5 (patch)
tree6ea288d5af2492fce0420b669262cfe50831e13f /test/files/pos/polymorphic-case-class.scala
parent234336d7b1ca19ae496a616012733a7a98462e4b (diff)
downloadscala-f7f5b50848c8c0efd30abe17467d1ef443760ec5.tar.gz
scala-f7f5b50848c8c0efd30abe17467d1ef443760ec5.tar.bz2
scala-f7f5b50848c8c0efd30abe17467d1ef443760ec5.zip
Rewrote the case class synthetic equals method ...
Rewrote the case class synthetic equals method to be more efficient and to cause fewer problems for compiler hackers who are always saying stuff like "the only place this comes up is case class equals..." No review.
Diffstat (limited to 'test/files/pos/polymorphic-case-class.scala')
-rw-r--r--test/files/pos/polymorphic-case-class.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/files/pos/polymorphic-case-class.scala b/test/files/pos/polymorphic-case-class.scala
new file mode 100644
index 0000000000..5ed5eeddc9
--- /dev/null
+++ b/test/files/pos/polymorphic-case-class.scala
@@ -0,0 +1,2 @@
+// no unchecked warnings
+case class Bippy[T, -U, +V](x: T, z: V) { }