| Index: sdk/lib/_internal/compiler/implementation/elements/elements.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/elements/elements.dart b/sdk/lib/_internal/compiler/implementation/elements/elements.dart
|
| index 53d6650ed24f460b4611fe6fe254c7fd528266a2..3243e90884bfc2adc5bfa8b5a4186a519c3d8ab1 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/elements/elements.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/elements/elements.dart
|
| @@ -907,6 +907,11 @@ abstract class ClassElement extends TypeDeclarationElement
|
|
|
| bool isObject(Compiler compiler);
|
| bool isSubclassOf(ClassElement cls);
|
| + /// Returns true if `this` explicitly/nominally implements [intrface].
|
| + ///
|
| + /// Note that, if [intrface] is the `Function` class, this method returns
|
| + /// falso for a class that has a `call` method but does not explicitly
|
| + /// implement `Function`.
|
| bool implementsInterface(ClassElement intrface);
|
| bool hasFieldShadowedBy(Element fieldMember);
|
|
|
|
|