| Index: lib/compiler/implementation/elements/elements.dart
|
| diff --git a/lib/compiler/implementation/elements/elements.dart b/lib/compiler/implementation/elements/elements.dart
|
| index 778084f1ac497624543c7427eeb4448360e779c7..d62fa32eca3685c404d1df58c42696700b867983 100644
|
| --- a/lib/compiler/implementation/elements/elements.dart
|
| +++ b/lib/compiler/implementation/elements/elements.dart
|
| @@ -836,8 +836,7 @@ class FunctionElement extends Element {
|
|
|
| bool isInstanceMember() {
|
| return isMember()
|
| - && kind != ElementKind.GENERATIVE_CONSTRUCTOR
|
| - && !modifiers.isFactory()
|
| + && !isConstructor()
|
| && !modifiers.isStatic();
|
| }
|
|
|
|
|