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

Unified Diff: lib/compiler/implementation/js_backend/backend.dart

Issue 10977055: Make the right type annotation fix to r12956 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/js_backend/backend.dart
diff --git a/lib/compiler/implementation/js_backend/backend.dart b/lib/compiler/implementation/js_backend/backend.dart
index 7abf02e36bc4dfc360d8682feb117ab453229d3b..1e635738d2d37816906164aa552112d84e881f09 100644
--- a/lib/compiler/implementation/js_backend/backend.dart
+++ b/lib/compiler/implementation/js_backend/backend.dart
@@ -233,7 +233,7 @@ class FieldTypesRegistry {
* not correlate the generative constructors and generative constructor
* body/bodies.
*/
- final Map<Element, Set<ClassElement>> constructors;
+ final Map<ClassElement, Set<Element>> constructors;
/**
* The collected type information is stored in three maps. One for types
@@ -265,7 +265,7 @@ class FieldTypesRegistry {
final Map<Element, FunctionSet> optimizedFunctions;
FieldTypesRegistry(JavaScriptBackend backend)
- : constructors = new Map<Element, Set<ClassElement>>(),
+ : constructors = new Map<ClassElement, Set<Element>>(),
fieldInitializerTypeMap = new Map<Element, HType>(),
fieldConstructorTypeMap = new Map<Element, HType>(),
fieldTypeMap = new Map<Element, HType>(),
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698