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

Side by Side Diff: test/dart_codegen/expect/async/deferred_load.dart

Issue 961493003: don't run dart gen on JS patch code (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 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 Future<Null> load() { 8 external Future<Null> load();
9 throw 'DeferredLibrary not supported. ' 'please use the `import "lib.dart" d eferred as lib` syntax.';
10 }
11 } 9 }
12 class DeferredLoadException implements Exception { 10 class DeferredLoadException implements Exception {
13 DeferredLoadException(String this._s); 11 DeferredLoadException(String this._s);
14 String toString() => "DeferredLoadException: '$_s'"; 12 String toString() => "DeferredLoadException: '$_s'";
15 final String _s; 13 final String _s;
16 } 14 }
OLDNEW
« no previous file with comments | « test/dart_codegen/expect/async/async ('k') | test/dart_codegen/expect/async/schedule_microtask.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698