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

Unified Diff: pkg/analyzer/lib/src/generated/error.dart

Issue 923623002: Issue 20050. Show corrections for errors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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/lib/src/generated/error.dart
diff --git a/pkg/analyzer/lib/src/generated/error.dart b/pkg/analyzer/lib/src/generated/error.dart
index 7801e2e4a6d8977c44ebbf8dba73f14087a549f6..907295b4bda0763f2f6283402aff74c3efbc0507 100644
--- a/pkg/analyzer/lib/src/generated/error.dart
+++ b/pkg/analyzer/lib/src/generated/error.dart
@@ -3806,7 +3806,8 @@ class StaticWarningCode extends ErrorCode {
*/
static const StaticWarningCode AMBIGUOUS_IMPORT = const StaticWarningCode(
'AMBIGUOUS_IMPORT',
- "The name '{0}' is defined in the libraries {1}");
+ "The name '{0}' is defined in the libraries {1}",
+ "Consider using 'as prefix' for one of the import directives.");
Brian Wilkerson 2015/02/12 19:09:33 Same as before: Or hiding the name from all but on
scheglov 2015/02/12 19:16:32 Done.
/**
* 12.11.1 New: It is a static warning if the static type of <i>a<sub>i</sub>,

Powered by Google App Engine
This is Rietveld 408576698