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

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

Issue 959913003: cleanup patch generation to preseve comments and remove @patch (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 10 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
index 60f4f3ab2a10cd347a45d0c74ef3ccf5032f8f84..01b2c16e161e64055122f072c16bba55779d7136 100644
--- a/test/generated_sdk/lib/async/deferred_load.dart
+++ b/test/generated_sdk/lib/async/deferred_load.dart
@@ -17,7 +17,12 @@ class DeferredLibrary {
const DeferredLibrary(this.libraryName, {this.uri});
- @patch
+ /**
+ * 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.';
« no previous file with comments | « test/dart_codegen/expect/typed_data/typed_data ('k') | test/generated_sdk/lib/async/schedule_microtask.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698