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

Unified Diff: pkg/analyzer/tool/summary/generate.dart

Issue 1606283003: Modify summary codegen so that builder getters return builders. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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/analyzer/tool/summary/generate.dart
diff --git a/pkg/analyzer/tool/summary/generate.dart b/pkg/analyzer/tool/summary/generate.dart
index 792b8ac86bab455dcdc4c50c356c0dd1bab19ba0..3c33470935925f18febe331b037f9f21f8045e8d 100644
--- a/pkg/analyzer/tool/summary/generate.dart
+++ b/pkg/analyzer/tool/summary/generate.dart
@@ -317,7 +317,7 @@ class _CodeGenerator {
String defSuffix = def == null ? '' : ' ?? $def';
out();
out('@override');
- out('${dartType(field.type)} get $fieldName => _$fieldName$defSuffix;');
+ out('$typeStr get $fieldName => _$fieldName$defSuffix;');
out();
outDoc(field.documentation);
constructorParams.add('$typeStr $fieldName');
« pkg/analyzer/lib/src/summary/format.dart ('K') | « pkg/analyzer/lib/src/summary/format.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698