summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/compiler/scala/tools/nsc/matching/ParallelMatching.scala3
-rw-r--r--test/files/pos/t1087.scala (renamed from test/pending/pos/t1087.scala)0
2 files changed, 2 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/matching/ParallelMatching.scala b/src/compiler/scala/tools/nsc/matching/ParallelMatching.scala
index b21dd75c6d..f319ac655c 100644
--- a/src/compiler/scala/tools/nsc/matching/ParallelMatching.scala
+++ b/src/compiler/scala/tools/nsc/matching/ParallelMatching.scala
@@ -360,7 +360,8 @@ trait ParallelMatching {
case _ =>
r.insert(List(EmptyTree, pat))
}}
- val vdef = typedValDef(vsym, Select(mkIdent(ures), nme.get))
+
+ val vdef = typedValDef(vsym, Apply(Select(mkIdent(ures), nme.get), List()))
(uacall, List(vdef), rep.make(ntemps, nrows), nrepFail)
case _ => // app.tpe is Option[? <: ProductN[T1,...,Tn]]
diff --git a/test/pending/pos/t1087.scala b/test/files/pos/t1087.scala
index bb0d7012c1..bb0d7012c1 100644
--- a/test/pending/pos/t1087.scala
+++ b/test/files/pos/t1087.scala