From fc419f55e29b7e77e9062d40a0864086f8d51bfa Mon Sep 17 00:00:00 2001 From: Felix Mulder Date: Wed, 25 May 2016 12:50:36 +0200 Subject: 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 --- tests/pos/t1168.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/pos/t1168.scala') diff --git a/tests/pos/t1168.scala b/tests/pos/t1168.scala index f43436812..08f1b5cd9 100644 --- a/tests/pos/t1168.scala +++ b/tests/pos/t1168.scala @@ -1,6 +1,6 @@ object Test extends App { - trait SpecialException {} + trait SpecialException extends Throwable {} try { throw new Exception -- cgit v1.2.3