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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/dart_codegen/expect/async/deferred_load.dart
diff --git a/test/dart_codegen/expect/async/deferred_load.dart b/test/dart_codegen/expect/async/deferred_load.dart
index a6624a58ef0db0429cc94b86215046b34c2f808f..01cd1226e091537e7953bb870d8e0f11f718c7d1 100644
--- a/test/dart_codegen/expect/async/deferred_load.dart
+++ b/test/dart_codegen/expect/async/deferred_load.dart
@@ -5,9 +5,7 @@ class DeferredLibrary {
final String libraryName;
final String uri;
const DeferredLibrary(this.libraryName, {this.uri});
- Future<Null> load() {
- throw 'DeferredLibrary not supported. ' 'please use the `import "lib.dart" deferred as lib` syntax.';
- }
+ external Future<Null> load();
}
class DeferredLoadException implements Exception {
DeferredLoadException(String this._s);
« 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