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

Unified Diff: sdk/lib/_internal/lib/async_patch.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: Deprecated until sdk 1.8 remove cruft from unused DeferredLibrary Created 6 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
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/warnings.dart ('k') | sdk/lib/_internal/lib/js_helper.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/lib/async_patch.dart
diff --git a/sdk/lib/_internal/lib/async_patch.dart b/sdk/lib/_internal/lib/async_patch.dart
index 004f433b54f36d8ebc6bc1758b8b371c9583a3e6..88ab1d0479a5dbbf8f3f721c8f460868ec73f943 100644
--- a/sdk/lib/_internal/lib/async_patch.dart
+++ b/sdk/lib/_internal/lib/async_patch.dart
@@ -8,7 +8,6 @@ import 'dart:_js_helper' show
patch,
Primitives,
convertDartClosureToJS,
- loadDeferredLibrary,
requiresPreamble;
import 'dart:_isolate_helper' show
IsolateNatives,
@@ -91,7 +90,8 @@ class _AsyncRun {
class DeferredLibrary {
@patch
Future<Null> load() {
- return loadDeferredLibrary(libraryName, uri);
+ throw 'DeferredLibrary not supported. '
+ 'please use the `import "lib.dart" deferred as lib` syntax.';
}
}
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/warnings.dart ('k') | sdk/lib/_internal/lib/js_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698