summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBurak Emir <emir@epfl.ch>2007-12-25 00:42:46 +0000
committerBurak Emir <emir@epfl.ch>2007-12-25 00:42:46 +0000
commit3aa48de96a29cfd5f815a4549264a8c89f5b8c23 (patch)
tree48f60adfb95d083e6b6f1ceec365466a38ff2abd /src
parenteb1e54b1e81207b90392b4e2756d4ed7a5952ab6 (diff)
downloadscala-3aa48de96a29cfd5f815a4549264a8c89f5b8c23.tar.gz
scala-3aa48de96a29cfd5f815a4549264a8c89f5b8c23.tar.bz2
scala-3aa48de96a29cfd5f815a4549264a8c89f5b8c23.zip
fixed t303
Diffstat (limited to 'src')
-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 dffd1f3db9..676862c9c6 100644
--- a/src/compiler/scala/tools/nsc/matching/ParallelMatching.scala
+++ b/src/compiler/scala/tools/nsc/matching/ParallelMatching.scala
@@ -563,7 +563,8 @@ trait ParallelMatching {
val failRep = rep.make( scrutinee :: rest.temp, frows.toList)
// fixed length
val cond = getCond(treeAsSeq, xs.length)
- return ({thenp:Tree => {elsep:Tree => squeezedBlock(bindings.toList,If(cond, thenp, elsep))}}, succRep, failRep)
+ return ({thenp:Tree => {elsep:Tree =>
+ If(cond, squeezedBlock(bindings.toList, thenp), elsep)}}, succRep, failRep)
}
}