Index: pkg/analyzer/lib/src/summary/summarize_ast.dart |
diff --git a/pkg/analyzer/lib/src/summary/summarize_ast.dart b/pkg/analyzer/lib/src/summary/summarize_ast.dart |
index 0d5106f3350c81e2304505a35ce73500de974e37..138ab6c68c72f2ddfb60fb16287deda3d9b03456 100644 |
--- a/pkg/analyzer/lib/src/summary/summarize_ast.dart |
+++ b/pkg/analyzer/lib/src/summary/summarize_ast.dart |
@@ -1108,7 +1108,8 @@ class _SummarizeAstVisitor extends RecursiveAstVisitor { |
b.isConst = true; |
b.constCycleSlot = assignSlot(); |
} |
- b.isExternal = node.externalKeyword != null || node.body is NativeFunctionBody; |
+ b.isExternal = |
+ node.externalKeyword != null || node.body is NativeFunctionBody; |
b.documentationComment = serializeDocumentation(node.documentationComment); |
b.annotations = serializeAnnotations(node.metadata); |
b.codeRange = serializeCodeRange(node); |
@@ -1230,7 +1231,8 @@ class _SummarizeAstVisitor extends RecursiveAstVisitor { |
node.documentationComment, |
node.metadata, |
node.functionExpression.typeParameters, |
- node.externalKeyword != null || node.functionExpression.body is NativeFunctionBody, |
+ node.externalKeyword != null || |
+ node.functionExpression.body is NativeFunctionBody, |
false, |
node.parent is FunctionDeclarationStatement)); |
} |