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

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/StaticWarningCode.java

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: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/StaticWarningCode.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/StaticWarningCode.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/StaticWarningCode.java
index c55c22bb3781c7ba02a827a66ba6192bd3f77ab6..55314d98955223b9e453c1080c1f7992fc97e19e 100644
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/StaticWarningCode.java
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/StaticWarningCode.java
@@ -36,7 +36,8 @@ public enum StaticWarningCode implements ErrorCode {
* @param firstLibraryName the name of the first library that the type is found
* @param secondLibraryName the name of the second library that the type is found
*/
- AMBIGUOUS_IMPORT("The name '%s' is defined in the libraries %s"),
+ AMBIGUOUS_IMPORT("The name '%s' is defined in the libraries %s",
+ "Consider using 'as prefix' for one of the import directives."),
Brian Wilkerson 2015/02/12 19:09:33 Or hiding the name from all but one of the imports
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>, 1 &lt;= i &lt;= n+

Powered by Google App Engine
This is Rietveld 408576698