| Index: pkg/compiler/lib/src/inferrer/type_graph_nodes.dart
|
| diff --git a/pkg/compiler/lib/src/inferrer/type_graph_nodes.dart b/pkg/compiler/lib/src/inferrer/type_graph_nodes.dart
|
| index 7b673d028cdb8f6ab340e9e680cdda66cf7350a4..b87a8926bfad57eeb64b8c3348f49eb8d9886b2c 100644
|
| --- a/pkg/compiler/lib/src/inferrer/type_graph_nodes.dart
|
| +++ b/pkg/compiler/lib/src/inferrer/type_graph_nodes.dart
|
| @@ -760,11 +760,12 @@ class DynamicCallSiteTypeInformation extends CallSiteTypeInformation {
|
| }
|
| }
|
|
|
| - bool get targetsIncludeNoSuchMethod {
|
| + bool targetsIncludeComplexNoSuchMethod(TypeGraphInferrerEngine inferrer) {
|
| return targets.any((Element e) {
|
| return e is FunctionElement &&
|
| e.isInstanceMember &&
|
| - e.name == Compiler.NO_SUCH_METHOD;
|
| + e.name == Compiler.NO_SUCH_METHOD &&
|
| + inferrer.backend.isComplexNoSuchMethod(e);
|
| });
|
| }
|
|
|
|
|