From 32cebff4baf2cd9e85fd71e75fcf86947bb9f1cf Mon Sep 17 00:00:00 2001 From: David MacIver Date: Wed, 29 Oct 2008 21:14:12 +0000 Subject: Fix for ticket #1087. --- src/compiler/scala/tools/nsc/matching/ParallelMatching.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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]] -- cgit v1.2.3