Index: pkg/compiler/lib/src/js_backend/no_such_method_registry.dart |
diff --git a/pkg/compiler/lib/src/js_backend/no_such_method_registry.dart b/pkg/compiler/lib/src/js_backend/no_such_method_registry.dart |
index 547905d91312d7a6c1d5f5eb04272d297fd9d626..38d4704009e835ebe2f75b70d66b7dd506c61294 100644 |
--- a/pkg/compiler/lib/src/js_backend/no_such_method_registry.dart |
+++ b/pkg/compiler/lib/src/js_backend/no_such_method_registry.dart |
@@ -140,7 +140,7 @@ class NoSuchMethodRegistry { |
// If the implementation is 'noSuchMethod(x) => super.noSuchMethod(x);' |
// then it is in the same category as the super call. |
Element superCall = element.enclosingClass |
- .lookupSuperSelector(_compiler.noSuchMethodSelector); |
+ .lookupSuperByName(_compiler.noSuchMethodSelector.memberName); |
NsmCategory category = _categorizeImpl(superCall); |
switch(category) { |
case NsmCategory.DEFAULT: |