summaryrefslogtreecommitdiff
path: root/test/files/run/t3888.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t3888.scala')
-rw-r--r--test/files/run/t3888.scala5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/files/run/t3888.scala b/test/files/run/t3888.scala
index e0f1453b1d..1914072599 100644
--- a/test/files/run/t3888.scala
+++ b/test/files/run/t3888.scala
@@ -1,3 +1,6 @@
+
+// in a match, which notion of equals prevails?
+// extending Tuple doesn't seem to be at issue here.
object Test {
val T1 = new P
@@ -23,4 +26,4 @@ object Test {
class P extends Pair(1, 1) {
override def equals(x: Any) = true
-} \ No newline at end of file
+}