Index: pkg/compiler/lib/src/js_backend/custom_elements_analysis.dart |
diff --git a/pkg/compiler/lib/src/js_backend/custom_elements_analysis.dart b/pkg/compiler/lib/src/js_backend/custom_elements_analysis.dart |
index b3017c61446c83153769107dbbc0bc08a60af9cb..8e9b978ca5fcc4d2b70c86a1a9b711ebb288d097 100644 |
--- a/pkg/compiler/lib/src/js_backend/custom_elements_analysis.dart |
+++ b/pkg/compiler/lib/src/js_backend/custom_elements_analysis.dart |
@@ -7,8 +7,9 @@ import '../common/resolution.dart'; |
import '../common_elements.dart'; |
import '../constants/constant_system.dart'; |
import '../constants/values.dart'; |
-import '../elements/resolution_types.dart'; |
import '../elements/elements.dart'; |
+import '../elements/entities.dart'; |
+import '../elements/resolution_types.dart'; |
import '../universe/call_structure.dart'; |
import '../universe/use.dart' show ConstantUse, StaticUse; |
import '../universe/world_impact.dart' |
@@ -74,7 +75,7 @@ abstract class CustomElementsAnalysisBase { |
join.instantiatedClasses.add(classElement); |
} |
- void registerStaticUse(Element element) { |
+ void registerStaticUse(MemberEntity element) { |
assert(element != null); |
if (element == _helpers.findIndexForNativeSubclassType) { |
join.demanded = true; |