Index: pkg/compiler/lib/src/js_backend/backend.dart |
diff --git a/pkg/compiler/lib/src/js_backend/backend.dart b/pkg/compiler/lib/src/js_backend/backend.dart |
index ab5cf1933bc7d71f22a011b19d3eafcce802cd62..a20c19380b83d6f8260b00f69b8fae2a8ae7b51e 100644 |
--- a/pkg/compiler/lib/src/js_backend/backend.dart |
+++ b/pkg/compiler/lib/src/js_backend/backend.dart |
@@ -785,7 +785,8 @@ class JavaScriptBackend { |
void onResolutionComplete( |
ClosedWorld closedWorld, ClosedWorldRefiner closedWorldRefiner) { |
- for (Entity entity in compiler.enqueuer.resolution.processedEntities) { |
+ for (MemberEntity entity |
+ in compiler.enqueuer.resolution.processedEntities) { |
processAnnotations(entity, closedWorldRefiner); |
} |
mirrorsDataBuilder.computeMembersNeededForReflection( |
@@ -1243,14 +1244,14 @@ class JavaScriptBackend { |
/// Process backend specific annotations. |
void processAnnotations( |
- Element element, ClosedWorldRefiner closedWorldRefiner) { |
+ MemberElement element, ClosedWorldRefiner closedWorldRefiner) { |
if (element.isMalformed) { |
// Elements that are marked as malformed during parsing or resolution |
// might be registered here. These should just be ignored. |
return; |
} |
- Element implementation = element.implementation; |
+ MemberElement implementation = element.implementation; |
if (element.isFunction || element.isConstructor) { |
if (annotations.noInline(implementation)) { |
inlineCache.markAsNonInlinable(implementation); |