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

Unified Diff: pkg/compiler/lib/src/parser/node_listener.dart

Issue 3001993002: improve fasta export directive recovery (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/compiler/lib/src/parser/node_listener.dart
diff --git a/pkg/compiler/lib/src/parser/node_listener.dart b/pkg/compiler/lib/src/parser/node_listener.dart
index 9d4fe2577d7449cc28ee524f850cd4179a92be02..6ad898ca6fbc1b8cc12b2b17db87b1000786bf8f 100644
--- a/pkg/compiler/lib/src/parser/node_listener.dart
+++ b/pkg/compiler/lib/src/parser/node_listener.dart
@@ -137,6 +137,7 @@ class NodeListener extends ElementListener {
@override
void beginCompilationUnit(Token token) {
+ super.beginCompilationUnit(token);
invalidTopLevelDeclarationCount = 0;
}

Powered by Google App Engine
This is Rietveld 408576698