Index: pkg/compiler/lib/src/js_model/js_strategy.dart |
diff --git a/pkg/compiler/lib/src/js_model/js_strategy.dart b/pkg/compiler/lib/src/js_model/js_strategy.dart |
index 972fda507438b14b898529b6230ff240579b07f3..0ab3cb3ff8ab08ceb7c8a8d4586020dec2196aae 100644 |
--- a/pkg/compiler/lib/src/js_model/js_strategy.dart |
+++ b/pkg/compiler/lib/src/js_model/js_strategy.dart |
@@ -123,7 +123,7 @@ class JsBackendStrategy implements KernelBackendStrategy { |
uses.map(_map.toBackendClass).toSet(); |
}); |
- return new JsClosedWorld( |
+ return new JsClosedWorld(_elementMap, |
elementEnvironment: _elementEnvironment, |
dartTypes: _elementMap.types, |
commonElements: _commonElements, |
@@ -135,10 +135,10 @@ class JsBackendStrategy implements KernelBackendStrategy { |
classSets: classSets, |
implementedClasses: implementedClasses, |
liveInstanceMembers: liveInstanceMembers, |
+ mixinUses: mixinUses, |
// TODO(johnniwinther): Support these. |
allTypedefs: new ImmutableEmptySet<TypedefElement>(), |
resolutionWorldBuilder: null, |
- mixinUses: mixinUses, |
typesImplementedBySubclasses: null); |
} |