| 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 73c4f28ff29f76946881befcb0033c596a32cd12..f6434a018f9b6571bcb6a391eddf68fcf186f660 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/apiimpl.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/apiimpl.dart
|
| @@ -5,6 +5,7 @@
|
| library leg_apiimpl;
|
|
|
| import 'dart:uri';
|
| +import 'dart:async';
|
|
|
| import '../compiler.dart' as api;
|
| import 'dart2jslib.dart' as leg;
|
| @@ -107,7 +108,7 @@ class Compiler extends leg.Compiler {
|
| try {
|
| // TODO(ahe): We expect the future to be complete and call value
|
| // directly. In effect, we don't support truly asynchronous API.
|
| - text = provider(translated).value;
|
| + text = deprecatedFutureValue(provider(translated));
|
| } catch (exception) {
|
| if (node != null) {
|
| cancel("$exception", node: node);
|
|
|