| Index: pkg/kernel/lib/analyzer/ast_from_analyzer.dart
|
| diff --git a/pkg/kernel/lib/analyzer/ast_from_analyzer.dart b/pkg/kernel/lib/analyzer/ast_from_analyzer.dart
|
| index 45ebe7b996e3d444c6733dba546c37c28cde586f..858700e901a75e73d20c3927e23df3976ee34901 100644
|
| --- a/pkg/kernel/lib/analyzer/ast_from_analyzer.dart
|
| +++ b/pkg/kernel/lib/analyzer/ast_from_analyzer.dart
|
| @@ -2863,9 +2863,10 @@ class MemberBodyBuilder extends GeneralizingAstVisitor<Null> {
|
| }
|
| if (constructorsField == null) {
|
| ast.ListLiteral literal = new ast.ListLiteral(<ast.Expression>[]);
|
| - constructorsField = new ast.Field(constructors, isStatic: true,
|
| - initializer: literal, fileUri: classNode.fileUri)
|
| - ..fileOffset = classNode.fileOffset;
|
| + constructorsField = new ast.Field(constructors,
|
| + isStatic: true,
|
| + initializer: literal,
|
| + fileUri: classNode.fileUri)..fileOffset = classNode.fileOffset;
|
| classNode.addMember(constructorsField);
|
| }
|
| ast.ListLiteral literal = constructorsField.initializer;
|
| @@ -2881,7 +2882,7 @@ class MemberBodyBuilder extends GeneralizingAstVisitor<Null> {
|
| }
|
| var function = procedure.function;
|
| function.body = new ast.ExpressionStatement(expression)
|
| - ..parent = function;
|
| + ..parent = function;
|
| }
|
| }
|
|
|
|
|