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

Unified Diff: pkg/kernel/lib/text/ast_to_text.dart

Issue 2856123002: Add flag to track if a constructor is the synthetic default constructor. (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « pkg/kernel/lib/ast.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/kernel/lib/text/ast_to_text.dart
diff --git a/pkg/kernel/lib/text/ast_to_text.dart b/pkg/kernel/lib/text/ast_to_text.dart
index 198c21462d0cd9b6da7859e38e559d4603721602..eb2652af88ae8ed722445de6b78c3c0a26a2ba65 100644
--- a/pkg/kernel/lib/text/ast_to_text.dart
+++ b/pkg/kernel/lib/text/ast_to_text.dart
@@ -733,6 +733,7 @@ class Printer extends Visitor<Null> {
writeIndentation();
writeModifier(node.isExternal, 'external');
writeModifier(node.isConst, 'const');
+ writeModifier(node.isSyntheticDefault, 'default');
writeWord('constructor');
writeFunction(node.function,
name: node.name, initializers: node.initializers);
« no previous file with comments | « pkg/kernel/lib/ast.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698