| 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 aa40f913298b1fa13e2e9afa91f80f6f4c0c8367..5b0fa47f0e7c0308a64c1d2ad23add890ce83dc5 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
|
| @@ -142,10 +142,10 @@ class NsmEmitter extends CodeEmitterHelper {
|
|
|
| // Find out how many selectors there are with the special calling
|
| // convention.
|
| - Iterable<Selector> interceptedSelectors = trivialNsmHandlers
|
| - .where((Selector s) => backend.isInterceptedName(s.name));
|
| - Iterable<Selector> ordinarySelectors = trivialNsmHandlers
|
| - .where((Selector s) => !backend.isInterceptedName(s.name));
|
| + Iterable<Selector> interceptedSelectors = trivialNsmHandlers.where(
|
| + (Selector s) => backend.interceptorData.isInterceptedName(s.name));
|
| + Iterable<Selector> ordinarySelectors = trivialNsmHandlers.where(
|
| + (Selector s) => !backend.interceptorData.isInterceptedName(s.name));
|
|
|
| // Get the short names (JS names, perhaps minified).
|
| Iterable<jsAst.Name> interceptedShorts =
|
|
|