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

Unified Diff: pkg/analysis_server/lib/src/services/correction/assist_internal.dart

Issue 1521883002: Fix lints: unnecessary_brace_in_string_interp (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years 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/analysis_server/lib/src/services/correction/assist_internal.dart
diff --git a/pkg/analysis_server/lib/src/services/correction/assist_internal.dart b/pkg/analysis_server/lib/src/services/correction/assist_internal.dart
index 00c48a340a3ea823b85506805fdb56cde9114d8e..196eb53bca21f170d4ddc30e823f5c78e5c38953 100644
--- a/pkg/analysis_server/lib/src/services/correction/assist_internal.dart
+++ b/pkg/analysis_server/lib/src/services/correction/assist_internal.dart
@@ -962,7 +962,7 @@ class AssistProcessor {
variableList.type != null ? _getNodeText(variableList.type) + ' ' : '';
String getterCode = '$eol2 ${typeNameCode}get $name => _$name;';
String setterCode = '$eol2'
- ' void set $name(${typeNameCode}$name) {$eol'
+ ' void set $name($typeNameCode$name) {$eol'
' _$name = $name;$eol'
' }';
_addInsertEdit(fieldDeclaration.end, getterCode + setterCode);

Powered by Google App Engine
This is Rietveld 408576698