| Index: pkg/analyzer/lib/src/fasta/ast_builder.dart
|
| diff --git a/pkg/analyzer/lib/src/fasta/ast_builder.dart b/pkg/analyzer/lib/src/fasta/ast_builder.dart
|
| index 5ccbd6283bd620dd3e0bb66eb0c2687cf763a088..c4831bb1c3a15ddd302232a3ef83c43ec9709def 100644
|
| --- a/pkg/analyzer/lib/src/fasta/ast_builder.dart
|
| +++ b/pkg/analyzer/lib/src/fasta/ast_builder.dart
|
| @@ -530,9 +530,11 @@ class AstBuilder extends ScopeListener {
|
| debugEvent("VariablesDeclaration");
|
| List<VariableDeclaration> variables = popList(count);
|
| TypeAnnotation type = pop();
|
| - pop(); // TODO(paulberry): Modifiers.
|
| + _Modifiers modifiers = pop();
|
| + Token keyword = modifiers?.finalConstOrVarKeyword;
|
| push(ast.variableDeclarationStatement(
|
| - ast.variableDeclarationList(null, null, null, type, variables),
|
| + ast.variableDeclarationList(
|
| + null, null, toAnalyzerToken(keyword), type, variables),
|
| toAnalyzerToken(endToken)));
|
| }
|
|
|
|
|