summaryrefslogtreecommitdiff
path: root/src/compiler
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2010-05-13 23:24:27 +0000
committerPaul Phillips <paulp@improving.org>2010-05-13 23:24:27 +0000
commitf6ee85bed766dff518e88ca216893992987f1b3a (patch)
tree285466da34ae923bb3d01e0e61d82252a09b0c44 /src/compiler
parent33ff703da21993890014feb3d2375827127255a8 (diff)
downloadscala-f6ee85bed766dff518e88ca216893992987f1b3a.tar.gz
scala-f6ee85bed766dff518e88ca216893992987f1b3a.tar.bz2
scala-f6ee85bed766dff518e88ca216893992987f1b3a.zip
Realized that somehow the synthetic flag on pat...
Realized that somehow the synthetic flag on pattern matcher temp vars was lost somewhere, and classfile debugging info was being generated for every one of them. Fixed. No review.
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/scala/tools/nsc/matching/Matrix.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/matching/Matrix.scala b/src/compiler/scala/tools/nsc/matching/Matrix.scala
index de3204318f..2c9d974d61 100644
--- a/src/compiler/scala/tools/nsc/matching/Matrix.scala
+++ b/src/compiler/scala/tools/nsc/matching/Matrix.scala
@@ -16,7 +16,7 @@ trait Matrix extends MatrixAdditions {
import analyzer.Typer
import CODE._
import Debug._
- import Flags.{ TRANS_FLAG }
+ import Flags.{ TRANS_FLAG, SYNTHETIC }
/** Translation of match expressions.
*
@@ -201,7 +201,7 @@ trait Matrix extends MatrixAdditions {
{
val n: Name = if (name == null) newName(pos, "temp") else name
// careful: pos has special meaning
- owner.newVariable(pos, n) setInfo tpe setFlag (0L /: flags)(_|_)
+ owner.newVariable(pos, n) setInfo tpe setFlag (SYNTHETIC.toLong /: flags)(_|_)
}
def typedValDef(x: Symbol, rhs: Tree) =