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

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

Issue 429883002: Remove support for the DeferredLibrary annotation and remove tests of it (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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
Index: sdk/lib/_internal/compiler/implementation/warnings.dart
diff --git a/sdk/lib/_internal/compiler/implementation/warnings.dart b/sdk/lib/_internal/compiler/implementation/warnings.dart
index 02c2ebfe57724b916b60b179bfd31d528b8015df..2c899e47a5038f1675f73a67e01fd713f9fcb520 100644
--- a/sdk/lib/_internal/compiler/implementation/warnings.dart
+++ b/sdk/lib/_internal/compiler/implementation/warnings.dart
@@ -1183,6 +1183,12 @@ main() => A.A = 1;
howToFix:
"Try adding a prefix to the import.");
+ static const MessageKind DEFERRED_OLD_SYNTAX =
+ const MessageKind(
+ "The DeferredLibrary annotation is obsolete.",
+ howToFix:
+ "Use the \"import 'lib.dart' deferred as prefix\" syntax instead.");
+
static const MessageKind DEFERRED_LIBRARY_DUPLICATE_PREFIX =
const MessageKind(
"The prefix of this deferred import is not unique.",

Powered by Google App Engine
This is Rietveld 408576698