Skip to content

Commit

Permalink
Patmat elides some local vals in favour of field access under -opt, n…
Browse files Browse the repository at this point in the history
…ot must -optimise
  • Loading branch information
retronym committed Aug 26, 2019
1 parent 5b487b7 commit 50eb452
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 50eb452

Please sign in to comment.