| Index: lib/compiler/implementation/dart2js.dart
|
| diff --git a/lib/compiler/implementation/dart2js.dart b/lib/compiler/implementation/dart2js.dart
|
| index 09d0eb7efc42c5e6334c1e091917f26ad2f7f9a0..e8dc1b7e95285ac2d25a2124ca2a8b7c9fd65440 100644
|
| --- a/lib/compiler/implementation/dart2js.dart
|
| +++ b/lib/compiler/implementation/dart2js.dart
|
| @@ -133,9 +133,7 @@ void compile(List<String> argv) {
|
| dartBytesRead += source.length;
|
| sourceFiles[uri.toString()] =
|
| new SourceFile(relativize(cwd, uri), source);
|
| - Completer<String> completer = new Completer<String>();
|
| - completer.complete(source);
|
| - return completer.future;
|
| + return new Future.immediate(source);
|
| }
|
|
|
| void info(var message) {
|
|
|