Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(291)

Unified Diff: pkg/front_end/lib/src/fasta/kernel/fasta_accessors.dart

Issue 2983413002: Resynthesize constructor initializers from Kernel. (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/front_end/lib/src/fasta/kernel/fasta_accessors.dart
diff --git a/pkg/front_end/lib/src/fasta/kernel/fasta_accessors.dart b/pkg/front_end/lib/src/fasta/kernel/fasta_accessors.dart
index 3b9ecc699647968b926aec9303c9a38fbaf93718..8583989de9deee06daff70a9d6b8e9096e3b2fe2 100644
--- a/pkg/front_end/lib/src/fasta/kernel/fasta_accessors.dart
+++ b/pkg/front_end/lib/src/fasta/kernel/fasta_accessors.dart
@@ -88,10 +88,10 @@ abstract class BuilderHelper {
Initializer buildInvalidInitializer(Expression expression, [int offset]);
Initializer buildFieldInitializer(
- String name, int offset, Expression expression);
+ bool isSynthetic, String name, int offset, Expression expression);
Initializer buildSuperInitializer(
- Constructor constructor, Arguments arguments,
+ bool isSynthetic, Constructor constructor, Arguments arguments,
[int offset]);
Initializer buildRedirectingInitializer(
@@ -396,7 +396,8 @@ class ThisAccessor extends FastaAccessor {
isSuper: isSuper, name: name.name, offset: offset),
offset);
} else if (isSuper) {
- return helper.buildSuperInitializer(constructor, arguments, offset);
+ return helper.buildSuperInitializer(
+ false, constructor, arguments, offset);
} else {
return helper.buildRedirectingInitializer(constructor, arguments, offset);
}

Powered by Google App Engine
This is Rietveld 408576698