| Index: sdk/lib/_internal/compiler/implementation/apiimpl.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/apiimpl.dart b/sdk/lib/_internal/compiler/implementation/apiimpl.dart
|
| index f72214bfb52b2121edeea9314d037aaab06b1dec..022acb4259acc2ea0dd505d43534c6f240feee9a 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/apiimpl.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/apiimpl.dart
|
| @@ -173,10 +173,9 @@ class Compiler extends leg.Compiler {
|
|
|
| Uri resourceUri = translateUri(readableUri, node);
|
| // TODO(johnniwinther): Wrap the result from [provider] in a specialized
|
| - // [Future] to ensure that we never execute an asynchronous action without setting
|
| - // up the current element of the compiler.
|
| - return new Future.sync(() => callUserProvider(resourceUri))
|
| - .then((data) {
|
| + // [Future] to ensure that we never execute an asynchronous action without
|
| + // setting up the current element of the compiler.
|
| + return new Future.sync(() => callUserProvider(resourceUri)).then((data) {
|
| SourceFile sourceFile;
|
| String resourceUriString = resourceUri.toString();
|
| if (data is List<int>) {
|
|
|