| Index: pkg/compiler/lib/src/elements/modelx.dart
|
| diff --git a/pkg/compiler/lib/src/elements/modelx.dart b/pkg/compiler/lib/src/elements/modelx.dart
|
| index d435f4aa9c96e0acd7784ba785f71ee035330c3b..b45a207d81141665b738743304e1e8e1c445b979 100644
|
| --- a/pkg/compiler/lib/src/elements/modelx.dart
|
| +++ b/pkg/compiler/lib/src/elements/modelx.dart
|
| @@ -2285,6 +2285,10 @@ abstract class BaseClassElementX extends ElementX
|
| backendMembers.forEach(f);
|
| }
|
|
|
| + bool implementsFunction(Compiler compiler) {
|
| + return asInstanceOf(compiler.functionClass) != null || callType != null;
|
| + }
|
| +
|
| bool implementsInterface(ClassElement intrface) {
|
| for (DartType implementedInterfaceType in allSupertypes) {
|
| ClassElement implementedInterface = implementedInterfaceType.element;
|
|
|