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

Unified Diff: lib/compiler/implementation/warnings.dart

Issue 10968010: Import scope rules updated. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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: lib/compiler/implementation/warnings.dart
diff --git a/lib/compiler/implementation/warnings.dart b/lib/compiler/implementation/warnings.dart
index 3dc8b8215eb97189a11dbd3175d4964ec29a038b..799f4a8de49fe86bb9deb235669cb18a29efc5b0 100644
--- a/lib/compiler/implementation/warnings.dart
+++ b/lib/compiler/implementation/warnings.dart
@@ -46,6 +46,8 @@ class MessageKind {
'cannot resolve type #{1}');
static const DUPLICATE_DEFINITION = const MessageKind(
'duplicate definition of #{1}');
+ static const DUPLICATE_IMPORT = const MessageKind(
+ 'duplicate import of #{1}');
static const NOT_A_TYPE = const MessageKind(
'#{1} is not a type');
static const NOT_A_PREFIX = const MessageKind(

Powered by Google App Engine
This is Rietveld 408576698