Index: pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart |
diff --git a/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart b/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart |
index 5553144bf0effbe623e99fb54bb84ac1b948a770..c4a1d776d762ee75060451c8b3442d52b108d327 100644 |
--- a/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart |
+++ b/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart |
@@ -847,3 +847,9 @@ _canonicalMember(obj, name) { |
} |
return name; |
} |
+ |
+/// Emulates the implicit "loadLibrary" function provided by a deferred library. |
+/// |
+/// Libraries are not actually deferred in DDC, so this just returns a future |
+/// that completes immediately. |
+Future loadLibrary() => new Future.value(); |