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

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

Issue 21499005: Issue 12106. Ambiguous import is now always static warning, never error. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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
« no previous file with comments | « no previous file | editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/StaticWarningCode.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/CompileTimeErrorCode.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/CompileTimeErrorCode.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/CompileTimeErrorCode.java
index fd6ef96e47ff3ff6b5180eca0990ba0b26974f05..0b56dd1fc07eb4ff1a77141dc04ee5463e10d56e 100644
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/CompileTimeErrorCode.java
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/CompileTimeErrorCode.java
@@ -34,22 +34,6 @@ public enum CompileTimeErrorCode implements ErrorCode {
AMBIGUOUS_EXPORT("The element '%s' is defined in the libraries '%s' and '%s'"),
/**
- * 14.1 Imports: If a name <i>N</i> is referenced by a library <i>L</i> and <i>N</i> is introduced
- * into the top level scope <i>L</i> by more than one import then:
- * <ol>
- * <li>It is a static warning if <i>N</i> is used as a type annotation.
- * <li>In checked mode, it is a dynamic error if <i>N</i> is used as a type annotation and
- * referenced during a subtype test.
- * <li>Otherwise, it is a compile-time error.
- * </ol>
- *
- * @param ambiguousElementName the name of the ambiguous element
- * @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 element '%s' is defined in the libraries '%s' and '%s'"),
-
- /**
* 12.33 Argument Definition Test: It is a compile time error if <i>v</i> does not denote a formal
* parameter.
*
« no previous file with comments | « no previous file | editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/StaticWarningCode.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698