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

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

Issue 14031011: Print the location of duplicated elements. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix type warnings Created 7 years, 6 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: dart/sdk/lib/_internal/compiler/implementation/warnings.dart
diff --git a/dart/sdk/lib/_internal/compiler/implementation/warnings.dart b/dart/sdk/lib/_internal/compiler/implementation/warnings.dart
index 97b7cfa98e8a4b9d6996fa07f8e0594739780743..5425bd1f8718f91ded221d21e8bf49e416b5e99a 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/warnings.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/warnings.dart
@@ -428,6 +428,15 @@ Error: "#{value}" is not a valid Symbol name because is not:
* a qualified non-private identifier optionally followed by "=", or
* a qualified non-private identifier followed by "." and a user-defined operator.''');
+ static const AMBIGUOUS_REEXPORT = const MessageKind(
+ 'Info: "#{element}" is (re)exported by multiple libraries.');
+
+ static const AMBIGUOUS_LOCATION = const MessageKind(
+ 'Info: "#{element}" is defined here.');
+
+ static const IMPORTED_HERE = const MessageKind(
+ 'Info: "#{element}" is imported here.');
+
static const COMPILER_CRASHED = const MessageKind(
"Error: The compiler crashed when compiling this element.");

Powered by Google App Engine
This is Rietveld 408576698