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

Unified Diff: pkg/dart_parser/lib/src/listener.dart

Issue 2652663005: Handle field initializers correctly. (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « no previous file | pkg/dart_parser/lib/src/parser.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/dart_parser/lib/src/listener.dart
diff --git a/pkg/dart_parser/lib/src/listener.dart b/pkg/dart_parser/lib/src/listener.dart
index 63d0188d6f021a7f083afb978300b04a372429f8..bf9e25b1ea5fdc861d82fdeceb8757bc19bc89d2 100644
--- a/pkg/dart_parser/lib/src/listener.dart
+++ b/pkg/dart_parser/lib/src/listener.dart
@@ -316,6 +316,10 @@ class Listener {
logEvent("FieldInitializer");
}
+ void handleNoFieldInitializer(Token token) {
+ logEvent("NoFieldInitializer");
+ }
+
void beginVariableInitializer(Token token) {}
void endVariableInitializer(Token assignmentOperator) {
« no previous file with comments | « no previous file | pkg/dart_parser/lib/src/parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698