| Index: lib/compiler/implementation/elements/elements.dart
|
| diff --git a/lib/compiler/implementation/elements/elements.dart b/lib/compiler/implementation/elements/elements.dart
|
| index f47f30a2ee7e1053411d32fd231d9edf30d7565c..5122c65e2cd2fdaf1dc98f92ca50ee7b9fadacde 100644
|
| --- a/lib/compiler/implementation/elements/elements.dart
|
| +++ b/lib/compiler/implementation/elements/elements.dart
|
| @@ -716,10 +716,10 @@ class FunctionElement extends Element {
|
| if (cachedNode !== null) return cachedNode;
|
| if (patch === null) {
|
| if (modifiers.isExternal()) {
|
| - // An external function that isn't patched has no body.
|
| - return null;
|
| + listener.cancel("Compiling external function with no implementation.",
|
| + element: this);
|
| }
|
| - return cachedNode;
|
| + return null;
|
| }
|
| cachedNode = patch.parseNode(listener);
|
| return cachedNode;
|
|
|