| Index: pkg/analysis_server/lib/src/status/ast_writer.dart
|
| diff --git a/pkg/analysis_server/lib/src/status/ast_writer.dart b/pkg/analysis_server/lib/src/status/ast_writer.dart
|
| index 1b292d64d6b765cbe5e6c58f3d40bed55d0c15d9..b32886d2b4907e2b90030fb91ba07f7020627d94 100644
|
| --- a/pkg/analysis_server/lib/src/status/ast_writer.dart
|
| +++ b/pkg/analysis_server/lib/src/status/ast_writer.dart
|
| @@ -141,7 +141,7 @@ class AstWriter extends UnifyingAstVisitor with TreeWriter {
|
| properties['value'] = node.value;
|
| } else if (node is SuperConstructorInvocation) {
|
| properties['static element'] = node.staticElement;
|
| - } else if (node is TypeName) {
|
| + } else if (node is TypeAnnotation) {
|
| properties['type'] = node.type;
|
| } else if (node is VariableDeclarationList) {
|
| properties['keyword'] = node.keyword;
|
| @@ -195,7 +195,7 @@ class AstWriter extends UnifyingAstVisitor with TreeWriter {
|
| return node.name.name;
|
| } else if (node is TopLevelVariableDeclaration) {
|
| return _getNames(node.variables);
|
| - } else if (node is TypeName) {
|
| + } else if (node is TypeAnnotation) {
|
| return node.toSource();
|
| } else if (node is TypeParameter) {
|
| return node.name.name;
|
|
|