diff options
author | Burak Emir <emir@epfl.ch> | 2007-12-25 00:42:46 +0000 |
---|---|---|
committer | Burak Emir <emir@epfl.ch> | 2007-12-25 00:42:46 +0000 |
commit | 3aa48de96a29cfd5f815a4549264a8c89f5b8c23 (patch) | |
tree | 48f60adfb95d083e6b6f1ceec365466a38ff2abd | |
parent | eb1e54b1e81207b90392b4e2756d4ed7a5952ab6 (diff) | |
download | scala-3aa48de96a29cfd5f815a4549264a8c89f5b8c23.tar.gz scala-3aa48de96a29cfd5f815a4549264a8c89f5b8c23.tar.bz2 scala-3aa48de96a29cfd5f815a4549264a8c89f5b8c23.zip |
fixed t303
-rw-r--r-- | src/compiler/scala/tools/nsc/matching/ParallelMatching.scala | 3 |
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) } } |