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 <= i <= n+ |