summaryrefslogtreecommitdiff
path: root/src/compiler
diff options
context:
space:
mode:
authorDavid MacIver <david.maciver@gmail.com>2008-10-29 21:14:12 +0000
committerDavid MacIver <david.maciver@gmail.com>2008-10-29 21:14:12 +0000
commit32cebff4baf2cd9e85fd71e75fcf86947bb9f1cf (patch)
treec9aa2230cdb6c7e5544420335939d37b7f643f20 /src/compiler
parente6a1539441976df84e288e7485dee7bf452bb1a7 (diff)
downloadscala-32cebff4baf2cd9e85fd71e75fcf86947bb9f1cf.tar.gz
scala-32cebff4baf2cd9e85fd71e75fcf86947bb9f1cf.tar.bz2
scala-32cebff4baf2cd9e85fd71e75fcf86947bb9f1cf.zip
Fix for ticket #1087.
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/scala/tools/nsc/matching/ParallelMatching.scala3
1 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]]