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

Unified Diff: test/generated_sdk/lib/async/deferred_load.dart

Issue 1162723007: remove generated_sdk from checked in code (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 7 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: test/generated_sdk/lib/async/deferred_load.dart
diff --git a/test/generated_sdk/lib/async/deferred_load.dart b/test/generated_sdk/lib/async/deferred_load.dart
deleted file mode 100644
index 01b2c16e161e64055122f072c16bba55779d7136..0000000000000000000000000000000000000000
--- a/test/generated_sdk/lib/async/deferred_load.dart
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-part of dart.async;
-
-/**
- * Indicates that loading of [libraryName] is deferred.
- *
- * This class is obsolete. Instead use the syntax:
- * import "library.dart" deferred as prefix;
- */
-@Deprecated("Dart sdk v. 1.8")
-class DeferredLibrary {
- final String libraryName;
- final String uri;
-
- const DeferredLibrary(this.libraryName, {this.uri});
-
- /**
- * Ensure that [libraryName] has been loaded.
- *
- * If the library fails to load, the Future will complete with a
- * DeferredLoadException.
- */
- Future<Null> load() {
- throw 'DeferredLibrary not supported. '
- 'please use the `import "lib.dart" deferred as lib` syntax.';
- }
-}
-
-/**
- * Thrown when a deferred library fails to load.
- */
-class DeferredLoadException implements Exception {
- DeferredLoadException(String this._s);
- String toString() => "DeferredLoadException: '$_s'";
- final String _s;
-}
« no previous file with comments | « test/generated_sdk/lib/async/broadcast_stream_controller.dart ('k') | test/generated_sdk/lib/async/future.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698