Index: runtime/lib/deferred_load_patch.dart |
diff --git a/runtime/lib/deferred_load_patch.dart b/runtime/lib/deferred_load_patch.dart |
index 8d0a9ff0495e57d1d6bc90a04ab5dd216f84cd10..2bd002708d8eeb1982496c561dfb056e10c08884 100644 |
--- a/runtime/lib/deferred_load_patch.dart |
+++ b/runtime/lib/deferred_load_patch.dart |
@@ -9,7 +9,7 @@ patch class DeferredLibrary { |
// Dummy implementation that should eventually be replaced by real |
// implementation. |
Future future = |
- new Future<bool>.immediate(!_loadedLibraries.contains(libraryName)); |
+ new Future<bool>.value(!_loadedLibraries.contains(libraryName)); |
_loadedLibraries.add(libraryName); |
return future; |
} |