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

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

Issue 1305433005: No more warnings for duplicate unnamed lib imports. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Review fixes. Created 5 years, 4 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 | pkg/analyzer/lib/src/generated/error_verifier.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 0964a8c5f622e373d001753161043b2ca71f476a..93d1ce8dd482f5e2609772ff409387a1386a3766 100644
--- a/pkg/analyzer/lib/src/generated/error.dart
+++ b/pkg/analyzer/lib/src/generated/error.dart
@@ -3952,18 +3952,6 @@ class StaticWarningCode extends ErrorCode {
"The exported libraries '{0}' and '{1}' cannot have the same name '{2}'");
/**
- * 14.2 Exports: It is a static warning to export two different libraries with
- * the same name.
- *
- * Parameters:
- * 0: the uri pointing to a first library
- * 1: the uri pointing to a second library
- */
- static const StaticWarningCode EXPORT_DUPLICATED_LIBRARY_UNNAMED =
- const StaticWarningCode('EXPORT_DUPLICATED_LIBRARY_UNNAMED',
- "The exported libraries '{0}' and '{1}' cannot both be unnamed");
-
- /**
* 12.14.2 Binding Actuals to Formals: It is a static warning if <i>m &lt;
* h</i> or if <i>m &gt; n</i>.
*
@@ -4119,18 +4107,6 @@ class StaticWarningCode extends ErrorCode {
"The imported libraries '{0}' and '{1}' cannot have the same name '{2}'");
/**
- * 14.1 Imports: It is a static warning to import two different libraries with
- * the same name.
- *
- * Parameters:
- * 0: the uri pointing to a first library
- * 1: the uri pointing to a second library
- */
- static const StaticWarningCode IMPORT_DUPLICATED_LIBRARY_UNNAMED =
- const StaticWarningCode('IMPORT_DUPLICATED_LIBRARY_UNNAMED',
- "The imported libraries '{0}' and '{1}' cannot both be unnamed");
-
- /**
* 14.1 Imports: It is a static warning if the specified URI of a deferred
* import does not refer to a library declaration.
*
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/generated/error_verifier.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698