Index: sdk/lib/_internal/compiler/compiler.dart |
diff --git a/sdk/lib/_internal/compiler/compiler.dart b/sdk/lib/_internal/compiler/compiler.dart |
index b3c72c4e1ea45a27e1cd121f6babad0b171326bf..41c5ac1306558893c62027b233b095035afedc35 100644 |
--- a/sdk/lib/_internal/compiler/compiler.dart |
+++ b/sdk/lib/_internal/compiler/compiler.dart |
@@ -105,7 +105,7 @@ Future<String> compile(Uri script, |
..close(); |
code = ''; // Non-null signals success. |
} |
- return new Future.immediate(code); |
+ return new Future.value(code); |
} |
/** |