aboutsummaryrefslogtreecommitdiff
path: root/tests/pos-scala2
diff options
context:
space:
mode:
authorFelix Mulder <felix.mulder@gmail.com>2016-05-25 12:50:36 +0200
committerFelix Mulder <felix.mulder@gmail.com>2016-05-26 13:20:10 +0200
commitfc419f55e29b7e77e9062d40a0864086f8d51bfa (patch)
tree70d1420157c4bd5cd4cd3613bcbc7e13a1cfa113 /tests/pos-scala2
parent6b48e990d7e7d59cc5a67942a455eadcd9f4570f (diff)
downloaddotty-fc419f55e29b7e77e9062d40a0864086f8d51bfa.tar.gz
dotty-fc419f55e29b7e77e9062d40a0864086f8d51bfa.tar.bz2
dotty-fc419f55e29b7e77e9062d40a0864086f8d51bfa.zip
Don't evaluate isInstanceOf for value classes, disable bugged tests
The tests `i1059.scala` and `t3480.scala` are failing due to a bug in pattern matcher that evaluates the `x` in `List(x: _*)` incorrectly. Concerned issue: #1276
Diffstat (limited to 'tests/pos-scala2')
-rw-r--r--tests/pos-scala2/i1059.scala10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/pos-scala2/i1059.scala b/tests/pos-scala2/i1059.scala
deleted file mode 100644
index cd23e1916..000000000
--- a/tests/pos-scala2/i1059.scala
+++ /dev/null
@@ -1,10 +0,0 @@
-object Repeated {
- val list = List(1, 2, 3)
-
- list match {
- case List(_, _, _, _ @ _*) => 0
- case List(_, _, _*) => 1
- case List(_, _: _*) => 2
- case Nil => 3
- }
-}