Index: pkg/compiler/lib/src/resolution/class_members.dart |
diff --git a/pkg/compiler/lib/src/resolution/class_members.dart b/pkg/compiler/lib/src/resolution/class_members.dart |
index ba504560da6502c32f29dd877e538dceee905387..3039130510faff124098da78447421917b749950 100644 |
--- a/pkg/compiler/lib/src/resolution/class_members.dart |
+++ b/pkg/compiler/lib/src/resolution/class_members.dart |
@@ -69,7 +69,8 @@ abstract class MembersCreator { |
computeMembers(null, null); |
if (!cls.isAbstract) { |
Member member = classMembers[Names.noSuchMethod_]; |
- if (member != null && !member.declarer.isObject) { |
+ if (member != null && |
+ !resolution.target.isDefaultNoSuchMethod(member.element)) { |
return; |
} |
// Check for unimplemented members on concrete classes that neither have |