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/disabled/pos/t3480.scala | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 tests/disabled/pos/t3480.scala (limited to 'tests/disabled/pos') diff --git a/tests/disabled/pos/t3480.scala b/tests/disabled/pos/t3480.scala new file mode 100644 index 000000000..ba2e1a4b8 --- /dev/null +++ b/tests/disabled/pos/t3480.scala @@ -0,0 +1,4 @@ +object Test { + val List(_: _*) = List(1) + val Array( who, what : _* ) = "Eclipse plugin cannot not handle this" split (" ") +} -- cgit v1.2.3