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

Unified Diff: sdk/lib/_internal/compiler/implementation/tree/prettyprint.dart

Issue 282453004: Dart2js enum parsing. Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Typo Created 6 years, 7 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: sdk/lib/_internal/compiler/implementation/tree/prettyprint.dart
diff --git a/sdk/lib/_internal/compiler/implementation/tree/prettyprint.dart b/sdk/lib/_internal/compiler/implementation/tree/prettyprint.dart
index c7c1a328b893b4572040d202bc9e6586e4def40f..56aef27c33a17a5db8010e6757b532831537592a 100644
--- a/sdk/lib/_internal/compiler/implementation/tree/prettyprint.dart
+++ b/sdk/lib/_internal/compiler/implementation/tree/prettyprint.dart
@@ -173,6 +173,10 @@ class PrettyPrinter implements Visitor {
visitNodeWithChildren(node, "EmptyStatement");
}
+ visitEnum(Enum node) {
+ visitNodeWithChildren(node, "Enum");
+ }
+
visitExpressionStatement(ExpressionStatement node) {
visitNodeWithChildren(node, "ExpressionStatement");
}

Powered by Google App Engine
This is Rietveld 408576698