| Index: pkg/analyzer/lib/src/generated/ast.dart
|
| diff --git a/pkg/analyzer/lib/src/generated/ast.dart b/pkg/analyzer/lib/src/generated/ast.dart
|
| index 5cc32198775cdf39b930c43d09da39eb68b7c753..790a9dc06e3285cb55d08e7e7450cb426dbfdecf 100644
|
| --- a/pkg/analyzer/lib/src/generated/ast.dart
|
| +++ b/pkg/analyzer/lib/src/generated/ast.dart
|
| @@ -6908,9 +6908,9 @@ class ExportDirective extends NamespaceDirective {
|
| */
|
| abstract class Expression extends AstNode {
|
| /**
|
| - * An empty array of expressions.
|
| + * An empty list of expressions.
|
| */
|
| - static List<Expression> EMPTY_ARRAY = new List<Expression>(0);
|
| + static const List<Expression> EMPTY_ARRAY = const <Expression>[];
|
|
|
| /**
|
| * The static type of this expression, or `null` if the AST structure has not been resolved.
|
| @@ -20161,7 +20161,7 @@ class NodeList<E extends AstNode> extends Object with ListMixin<E> {
|
| /**
|
| * The elements contained in the list.
|
| */
|
| - List<E> _elements = <E> [];
|
| + List<E> _elements = <E>[];
|
|
|
| /**
|
| * Initialize a newly created list of nodes to be empty.
|
| @@ -20257,7 +20257,7 @@ class NodeList<E extends AstNode> extends Object with ListMixin<E> {
|
| _elements[index] = node;
|
| }
|
| void clear() {
|
| - _elements = <E> [];
|
| + _elements = <E>[];
|
| }
|
| int get length => _elements.length;
|
| void set length(int value) {
|
|
|