From f6ee85bed766dff518e88ca216893992987f1b3a Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Thu, 13 May 2010 23:24:27 +0000 Subject: 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. --- src/compiler/scala/tools/nsc/matching/Matrix.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/compiler') 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) = -- cgit v1.2.3