We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eec5732 commit 661f392Copy full SHA for 661f392
compiler/src/dotty/tools/dotc/transform/PatternMatcher.scala
@@ -529,7 +529,7 @@ object PatternMatcher {
529
*/
530
private def inlineLabelled(plan: Plan) = {
531
val refCount = referenceCount(plan)
532
- def toDrop(sym: Symbol) = labelled.contains(sym) && refCount(symb) <= 1
+ def toDrop(sym: Symbol) = labelled.contains(sym) && refCount(sym) <= 1
533
def transform(plan: Plan): Plan = plan match {
534
case plan: TestPlan =>
535
plan.onSuccess = transform(plan.onSuccess)
0 commit comments