Index: pkg/front_end/lib/src/fasta/kernel/body_builder.dart |
diff --git a/pkg/front_end/lib/src/fasta/kernel/body_builder.dart b/pkg/front_end/lib/src/fasta/kernel/body_builder.dart |
index 0785c5ca4c2a9c53145af84ade12fee47e7b2160..c821c293bb6f9d305b3024a263ceeecf8b629ec2 100644 |
--- a/pkg/front_end/lib/src/fasta/kernel/body_builder.dart |
+++ b/pkg/front_end/lib/src/fasta/kernel/body_builder.dart |
@@ -3137,7 +3137,8 @@ class BodyBuilder extends ScopeListener<JumpTarget> implements BuilderHelper { |
Initializer buildInvalidInitializer(Expression expression, |
[int charOffset = -1]) { |
needsImplicitSuperInitializer = false; |
- return new LocalInitializer(new VariableDeclaration.forValue(expression)) |
+ return new KernelInvalidInitializer( |
+ new VariableDeclaration.forValue(expression)) |
..fileOffset = charOffset; |
} |