| Index: pkg/front_end/testcases/inference/block_bodied_lambdas_async_mix_of_values_and_futures.dart
|
| diff --git a/pkg/front_end/testcases/inference/block_bodied_lambdas_async_mix_of_values_and_futures.dart b/pkg/front_end/testcases/inference/block_bodied_lambdas_async_mix_of_values_and_futures.dart
|
| index 0e5d8fb47c86f7f544fed05c433a0094ec65111b..34eacb4277f241a4139d21f0ccab78b089886579 100644
|
| --- a/pkg/front_end/testcases/inference/block_bodied_lambdas_async_mix_of_values_and_futures.dart
|
| +++ b/pkg/front_end/testcases/inference/block_bodied_lambdas_async_mix_of_values_and_futures.dart
|
| @@ -10,7 +10,7 @@ import 'dart:math' show Random;
|
|
|
| main() {
|
| var /*@type=() -> Future<num>*/ f = /*@returnType=Future<num>*/ () async {
|
| - if (new Random().nextBool()) {
|
| + if (new Random(). /*@target=dart.math::Random::nextBool*/ nextBool()) {
|
| return new Future<int>.value(1);
|
| } else {
|
| return 2.0;
|
|
|