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

Side by Side Diff: test/dart_codegen/expect/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, 9 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 unified diff | Download patch
OLDNEW
1 part of dart.async; 1 part of dart.async;
2 2
3 @Deprecated("Dart sdk v. 1.8") 3 @Deprecated("Dart sdk v. 1.8")
4 class DeferredLibrary { 4 class DeferredLibrary {
5 final String libraryName; 5 final String libraryName;
6 final String uri; 6 final String uri;
7 const DeferredLibrary(this.libraryName, {this.uri}); 7 const DeferredLibrary(this.libraryName, {this.uri});
8 @patch Future<Null> load() { 8 Future<Null> load() {
9 throw 'DeferredLibrary not supported. ' 'please use the `import "lib.dart" d eferred as lib` syntax.'; 9 throw 'DeferredLibrary not supported. ' 'please use the `import "lib.dart" d eferred as lib` syntax.';
10 } 10 }
11 } 11 }
12 class DeferredLoadException implements Exception { 12 class DeferredLoadException implements Exception {
13 DeferredLoadException(String this._s); 13 DeferredLoadException(String this._s);
14 String toString() => "DeferredLoadException: '$_s'"; 14 String toString() => "DeferredLoadException: '$_s'";
15 final String _s; 15 final String _s;
16 } 16 }
OLDNEW
« no previous file with comments | « test/dart_codegen/expect/_internal/symbol.dart ('k') | test/dart_codegen/expect/async/schedule_microtask.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698