Index: pkg/compiler/lib/src/js_backend/backend.dart |
diff --git a/pkg/compiler/lib/src/js_backend/backend.dart b/pkg/compiler/lib/src/js_backend/backend.dart |
index b99336b3ed02917d0033061c2276b4c0819cfcaf..2b10c540f799f430f2fcbd9f5238c04422795a18 100644 |
--- a/pkg/compiler/lib/src/js_backend/backend.dart |
+++ b/pkg/compiler/lib/src/js_backend/backend.dart |
@@ -2669,6 +2669,12 @@ class JavaScriptBackend extends Backend { |
enqueue(enqueuer, getStreamIteratorConstructor(), registry); |
} |
} |
+ |
+ @override |
+ bool registerDeferredLoading(Spannable node, Registry registry) { |
+ registerCheckDeferredIsLoaded(registry); |
+ return true; |
+ } |
} |
/// Handling of special annotations for tests. |