Index: pkg/compiler/lib/src/js_emitter/full_emitter/nsm_emitter.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/full_emitter/nsm_emitter.dart b/pkg/compiler/lib/src/js_emitter/full_emitter/nsm_emitter.dart |
index a21e42adf67405a4fbfa7d7b3f514e4396bdff0f..f0a6e0fe82a90cd1b6ef679d2a4e2d11d6324642 100644 |
--- a/pkg/compiler/lib/src/js_emitter/full_emitter/nsm_emitter.dart |
+++ b/pkg/compiler/lib/src/js_emitter/full_emitter/nsm_emitter.dart |
@@ -55,7 +55,7 @@ class NsmEmitter extends CodeEmitterHelper { |
generator.generateStubForNoSuchMethod(jsName, selector); |
addProperty(method.name, method.code); |
if (reflectionName != null) { |
- bool accessible = compiler.world.allFunctions |
+ bool accessible = compiler.closedWorld.allFunctions |
.filter(selector, null) |
.any((Element e) => backend.isAccessibleByReflection(e)); |
addProperty( |