| Index: sdk/lib/_internal/compiler/implementation/elements/modelx.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/elements/modelx.dart b/sdk/lib/_internal/compiler/implementation/elements/modelx.dart
|
| index d9753e4081b539e36c40766abc06aab2c017ad01..02d2320f6b05e668b74f2a74806f246f100d325b 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/elements/modelx.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/elements/modelx.dart
|
| @@ -1228,7 +1228,7 @@ class FunctionElementX extends ElementX implements FunctionElement {
|
| if (super.isAbstract(compiler)) return true;
|
| if (modifiers.isExternal()) return false;
|
| if (isFunction() || isAccessor()) {
|
| - return !parseNode(compiler).hasBody();
|
| + compiler.withCurrentElement(this, () => !parseNode(compiler).hasBody());
|
| }
|
| return false;
|
| }
|
|
|