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

Unified Diff: pkg/analysis_services/lib/correction/assist.dart

Issue 438453002: Port and test more assists. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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/analysis_services/lib/correction/assist.dart
diff --git a/pkg/analysis_services/lib/correction/assist.dart b/pkg/analysis_services/lib/correction/assist.dart
index 9563e43772f935cccd5995e035ba3e7a0c472bcb..a81c2112f72719151381c90b80bf5b0e45072469 100644
--- a/pkg/analysis_services/lib/correction/assist.dart
+++ b/pkg/analysis_services/lib/correction/assist.dart
@@ -12,7 +12,7 @@ import 'package:analyzer/src/generated/source.dart';
/**
- * Computes [Assist]s for the given location.
+ * Computes [Assist]s at the given location.
*
* Returns the computed [Assist]s, not `null`.
*/
@@ -130,4 +130,7 @@ class AssistKind {
final String message;
const AssistKind(this.name, this.relevance, this.message);
+
+ @override
+ String toString() => name;
}

Powered by Google App Engine
This is Rietveld 408576698