Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(105)

Unified Diff: pkg/front_end/lib/src/fasta/parser/listener.dart

Issue 3003863002: [kernel] Position on switch expression (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/front_end/lib/src/fasta/parser/listener.dart
diff --git a/pkg/front_end/lib/src/fasta/parser/listener.dart b/pkg/front_end/lib/src/fasta/parser/listener.dart
index ed125679f62da83f9674fea6f676755c2725356f..2f1b6579561144aa6426900e44c88cce51d53b75 100644
--- a/pkg/front_end/lib/src/fasta/parser/listener.dart
+++ b/pkg/front_end/lib/src/fasta/parser/listener.dart
@@ -686,7 +686,8 @@ class Listener {
void beginSwitchBlock(Token token) {}
- void endSwitchBlock(int caseCount, Token beginToken, Token endToken) {
+ void endSwitchBlock(
+ int caseCount, Token beginToken, Token endToken, Token switchKeyword) {
logEvent("SwitchBlock");
}

Powered by Google App Engine
This is Rietveld 408576698