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

Unified Diff: pkg/kernel/lib/ast.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/kernel/lib/ast.dart
diff --git a/pkg/kernel/lib/ast.dart b/pkg/kernel/lib/ast.dart
index 5c432803f549d673c68e4be3251a29179143b1d6..56c1f4ce16c87eb62f8c6fd5d504dfadc26b0f7e 100644
--- a/pkg/kernel/lib/ast.dart
+++ b/pkg/kernel/lib/ast.dart
@@ -1254,6 +1254,10 @@ enum ProcedureKind {
/// Part of an initializer list in a constructor.
abstract class Initializer extends TreeNode {
+ /// True if this is a synthetic constructor initializer.
+ @informative
+ bool isSynthetic = false;
+
accept(InitializerVisitor v);
}

Powered by Google App Engine
This is Rietveld 408576698