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

Unified Diff: sdk/lib/_internal/compiler/implementation/elements/modelx.dart

Issue 658103003: Support map and list literals in analyzer2dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Use LiteralMapEntry to ensure build order Created 6 years, 2 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/elements/modelx.dart
diff --git a/sdk/lib/_internal/compiler/implementation/elements/modelx.dart b/sdk/lib/_internal/compiler/implementation/elements/modelx.dart
index df1d98f8a0fa965569776e509c3d94d08325a6f0..3ddd8295711c0cdeee46b1190112c4736c802c95 100644
--- a/sdk/lib/_internal/compiler/implementation/elements/modelx.dart
+++ b/sdk/lib/_internal/compiler/implementation/elements/modelx.dart
@@ -1231,13 +1231,6 @@ class LocalVariableElementX extends VariableElementX
createDefinitions(variables.definitions);
}
- // TODO(johnniwinther): Remove this when the dart `backend_ast` does not need
- // [Element] for entities.
- LocalVariableElementX.synthetic(String name,
- ExecutableElement enclosingElement,
- VariableList variables)
- : super(name, ElementKind.VARIABLE, enclosingElement, variables, null);
-
ExecutableElement get executableContext => enclosingElement;
ExecutableElement get memberContext => executableContext.memberContext;

Powered by Google App Engine
This is Rietveld 408576698