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>(), |