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

Unified Diff: dart/frog/leg/tree/nodes.dart

Issue 9558005: Implement literal maps. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments Created 8 years, 9 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 | « dart/frog/leg/ssa/closure.dart ('k') | dart/frog/tests/leg_only/src/ToStringTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/frog/leg/tree/nodes.dart
diff --git a/dart/frog/leg/tree/nodes.dart b/dart/frog/leg/tree/nodes.dart
index cece27339cd42c05116e181ad7339eb4d092ef46..1309b7ac62c0092e4e3ffee0b69560e2ad8c7de2 100644
--- a/dart/frog/leg/tree/nodes.dart
+++ b/dart/frog/leg/tree/nodes.dart
@@ -1272,6 +1272,8 @@ class LiteralMap extends Expression {
LiteralMap(this.typeArguments, this.entries);
+ bool isConst() => false; // TODO(ahe): Store constness.
+
LiteralMap asLiteralMap() => this;
accept(Visitor visitor) => visitor.visitLiteralMap(this);
« no previous file with comments | « dart/frog/leg/ssa/closure.dart ('k') | dart/frog/tests/leg_only/src/ToStringTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698