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

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

Issue 21511003: Support symbol literals. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments. Created 7 years, 3 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/unparser.dart
diff --git a/sdk/lib/_internal/compiler/implementation/tree/unparser.dart b/sdk/lib/_internal/compiler/implementation/tree/unparser.dart
index 92d10e36aa8c0ee4982e4f2620b15b0516b08aee..259d4d010b8408e489c2214b07a9a7e73cc3ebb0 100644
--- a/sdk/lib/_internal/compiler/implementation/tree/unparser.dart
+++ b/sdk/lib/_internal/compiler/implementation/tree/unparser.dart
@@ -222,6 +222,11 @@ class Unparser implements Visitor {
add(node.token.value);
}
+ visitLiteralSymbol(LiteralSymbol node) {
+ add(node.hashToken.value);
+ visit(node.identifiers);
+ }
+
visitNewExpression(NewExpression node) {
addToken(node.newToken);
visit(node.send);

Powered by Google App Engine
This is Rietveld 408576698