diff --git a/src/compiler/scala/tools/nsc/transform/patmat/MatchTreeMaking.scala b/src/compiler/scala/tools/nsc/transform/patmat/MatchTreeMaking.scala index 4a6731744dcd..8cda8fc36c21 100644 --- a/src/compiler/scala/tools/nsc/transform/patmat/MatchTreeMaking.scala +++ b/src/compiler/scala/tools/nsc/transform/patmat/MatchTreeMaking.scala @@ -131,7 +131,7 @@ trait MatchTreeMaking extends MatchCodeGen with Debugging { } // unless we're optimizing, emit local variable bindings for all subpatterns of extractor/case class patterns - protected val debugInfoEmitVars = !settings.optimise.value + protected val debugInfoEmitVars = !settings.opt.value sealed trait PreserveSubPatBinders extends TreeMaker { val subPatBinders: List[Symbol]