Index: pkg/front_end/testcases/inference/block_bodied_lambdas_async_all_returns_are_values.dart |
diff --git a/pkg/front_end/testcases/inference/block_bodied_lambdas_async_all_returns_are_values.dart b/pkg/front_end/testcases/inference/block_bodied_lambdas_async_all_returns_are_values.dart |
index a76ea39b883668a065a3e09f1c4cb11b1367a311..251c2fbe62f572003cf65e731499d2a35f44d2af 100644 |
--- a/pkg/front_end/testcases/inference/block_bodied_lambdas_async_all_returns_are_values.dart |
+++ b/pkg/front_end/testcases/inference/block_bodied_lambdas_async_all_returns_are_values.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 1; |
} else { |
return 2.0; |