summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/compiler/scala/tools/nsc/matching/PatternMatchers.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/matching/PatternMatchers.scala b/src/compiler/scala/tools/nsc/matching/PatternMatchers.scala
index 2858b9e1e3..d3a4a4a4ea 100644
--- a/src/compiler/scala/tools/nsc/matching/PatternMatchers.scala
+++ b/src/compiler/scala/tools/nsc/matching/PatternMatchers.scala
@@ -180,7 +180,7 @@ trait PatternMatchers requires (TransMatcher with PatternNodes) extends AnyRef w
// ts;
case av @ ArrayValue(_, ts) => // test array values
if(isRightIgnoring(av))
- List()
+ ts.reverse.drop(1).reverse
else
ts;
case _ =>