Index: pkg/compiler/lib/src/js_emitter/interceptor_stub_generator.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/interceptor_stub_generator.dart b/pkg/compiler/lib/src/js_emitter/interceptor_stub_generator.dart |
index 1ccb101b904f8af0d0fb0fdfec36493a2792e4df..887a43efb4f1e55b8033c98de1777f6a0a791274 100644 |
--- a/pkg/compiler/lib/src/js_emitter/interceptor_stub_generator.dart |
+++ b/pkg/compiler/lib/src/js_emitter/interceptor_stub_generator.dart |
@@ -248,7 +248,7 @@ class InterceptorStubGenerator { |
bool containsJsIndexable = |
helpers.jsIndexingBehaviorInterface.isResolved && |
classes.any((cls) { |
- return compiler.world |
+ return compiler.closedWorld |
.isSubtypeOf(cls, helpers.jsIndexingBehaviorInterface); |
}); |
// The index set operator requires a check on its set value in |