Index: pkg/front_end/lib/src/fasta/parser/parser.dart |
diff --git a/pkg/front_end/lib/src/fasta/parser/parser.dart b/pkg/front_end/lib/src/fasta/parser/parser.dart |
index 5395ef8648c21526c9ea70732251021eb0cf7cd4..48c36634c697d838c86c4f3041a5c7920292ea3f 100644 |
--- a/pkg/front_end/lib/src/fasta/parser/parser.dart |
+++ b/pkg/front_end/lib/src/fasta/parser/parser.dart |
@@ -3975,7 +3975,7 @@ class Parser { |
statementCount++; |
peek = peekPastLabels(token); |
} |
- listener.handleSwitchCase(labelCount, expressionCount, defaultKeyword, |
+ listener.endSwitchCase(labelCount, expressionCount, defaultKeyword, |
statementCount, begin, token); |
return token; |
} |