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

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

Issue 499073002: Make certain generated constructor parameters optional. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 4 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/analysis_server/lib/src/services/correction/fix_internal.dart
diff --git a/pkg/analysis_server/lib/src/services/correction/fix_internal.dart b/pkg/analysis_server/lib/src/services/correction/fix_internal.dart
index 59c8a209f12ff5521eb633bbfe8260b7e7b07985..4c10f1500d5f2e6533df4fa3f4f6ec3e8d62ece8 100644
--- a/pkg/analysis_server/lib/src/services/correction/fix_internal.dart
+++ b/pkg/analysis_server/lib/src/services/correction/fix_internal.dart
@@ -206,7 +206,7 @@ class FixProcessor {
if (fixFile == null) {
fixFile = file;
}
- SourceFileEdit fileEdit = new SourceFileEdit(file, <SourceEdit>[]);
+ SourceFileEdit fileEdit = new SourceFileEdit(file);
fileEdit.addAll(edits);
// prepare Change
String message = formatList(kind.message, args);
« no previous file with comments | « pkg/analysis_server/lib/src/services/correction/change.dart ('k') | pkg/analysis_server/test/edit/assists_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698