Index: pkg/front_end/testcases/inference/block_bodied_lambdas_async_all_returns_are_futures.dart |
diff --git a/pkg/front_end/testcases/inference/block_bodied_lambdas_async_all_returns_are_futures.dart b/pkg/front_end/testcases/inference/block_bodied_lambdas_async_all_returns_are_futures.dart |
index e5499ae07024aa7627b12c8fea0236ebb2901a41..f515f667e17186ae8650fe05b927058d77105cc7 100644 |
--- a/pkg/front_end/testcases/inference/block_bodied_lambdas_async_all_returns_are_futures.dart |
+++ b/pkg/front_end/testcases/inference/block_bodied_lambdas_async_all_returns_are_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 new Future<double>.value(2.0); |