Index: sdk/lib/_internal/compiler/implementation/js_backend/backend.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart b/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart |
index a067322b552ee1e84b3585e30051319f78425d9c..41f91ee45b02a904bf42d20db71ca553edb959d5 100644 |
--- a/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart |
+++ b/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart |
@@ -1489,7 +1489,7 @@ class JavaScriptBackend extends Backend { |
return false; |
} |
- void onLibraryLoaded(LibraryElement library, Uri uri) { |
+ Future onLibraryLoaded(LibraryElement library, Uri uri) { |
if (uri == Uri.parse('dart:_js_mirrors')) { |
disableTreeShakingMarker = |
library.find(const SourceString('disableTreeShaking')); |
@@ -1499,6 +1499,7 @@ class JavaScriptBackend extends Backend { |
preserveNamesMarker = |
library.find(const SourceString('preserveNames')); |
} |
+ return new Future.value(); |
} |
void registerMetadataInstantiatedType(DartType type, TreeElements elements) { |