Index: sdk/lib/_internal/compiler/implementation/source_file_provider.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/source_file_provider.dart b/sdk/lib/_internal/compiler/implementation/source_file_provider.dart |
index 22af9be82da8c21e4b92f058267e6f0b24aa0b4d..b75ba4ada2f2c760fff15ae8b0d920cdd8d1ced9 100644 |
--- a/sdk/lib/_internal/compiler/implementation/source_file_provider.dart |
+++ b/sdk/lib/_internal/compiler/implementation/source_file_provider.dart |
@@ -45,7 +45,7 @@ class SourceFileProvider { |
dartCharactersRead += source.length; |
sourceFiles[resourceUri.toString()] = |
new SourceFile(relativize(cwd, resourceUri, isWindows), source); |
- return new Future.immediate(source); |
+ return new Future.value(source); |
} |
} |