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

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

Issue 11464025: dart2js: complain about missing part-of tags. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years 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 9c07fd32e6f879afaacdac72a1e9545353dc21a3..a5cd3da143c283c589545bf38f3327be04f01106 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/warnings.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/warnings.dart
@@ -293,6 +293,9 @@ class MessageKind {
static const LIBRARY_NAME_MISMATCH = const MessageKind(
'Warning: expected part of library name "#{1}".');
+ static const MISSING_PART_OF_TAG = const MessageKind(
+ 'Note: This file has no part-of tag, but it is being used as a part.');
+
static const DUPLICATED_PART_OF = const MessageKind(
'Error: duplicated part-of directive.');

Powered by Google App Engine
This is Rietveld 408576698