Index: pkg/compiler/lib/src/js_emitter/parameter_stub_generator.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/parameter_stub_generator.dart b/pkg/compiler/lib/src/js_emitter/parameter_stub_generator.dart |
index fa01ef9b1c5599180ead103680b9dab7330b1dd3..5dfac369489fd4f97b66aec24f239866367a879b 100644 |
--- a/pkg/compiler/lib/src/js_emitter/parameter_stub_generator.dart |
+++ b/pkg/compiler/lib/src/js_emitter/parameter_stub_generator.dart |
@@ -248,7 +248,9 @@ class ParameterStubGenerator { |
new Selector.call(member.memberName, selector.callStructure); |
renamedCallSelectors.add(renamedSelector); |
- if (!renamedSelector.appliesUnnamed(member, compiler.world)) continue; |
+ if (!renamedSelector.appliesUnnamed(member, compiler.closedWorld)) { |
+ continue; |
+ } |
if (untypedSelectors.add(renamedSelector)) { |
ParameterStubMethod stub = |
@@ -264,8 +266,9 @@ class ParameterStubGenerator { |
// call-selectors (and they are in the renamedCallSelectors set. |
for (Selector selector in selectors.keys) { |
if (renamedCallSelectors.contains(selector)) continue; |
- if (!selector.appliesUnnamed(member, compiler.world)) continue; |
- if (!selectors[selector].applies(member, selector, compiler.world)) { |
+ if (!selector.appliesUnnamed(member, compiler.closedWorld)) continue; |
+ if (!selectors[selector] |
+ .applies(member, selector, compiler.closedWorld)) { |
continue; |
} |