| Index: tests/lib/async/future_or_only_in_async_test.dart
|
| diff --git a/tests/lib/async/future_or_only_in_async_test.dart b/tests/lib/async/future_or_only_in_async_test.dart
|
| index 3e7d098a799f5ee6354a26c658288604c3edbf42..9942443029cc566426246c6bab6aa98e276cfd0d 100644
|
| --- a/tests/lib/async/future_or_only_in_async_test.dart
|
| +++ b/tests/lib/async/future_or_only_in_async_test.dart
|
| @@ -4,14 +4,14 @@
|
|
|
| // `FutureOr<T>` is only visible when `dart:async` is imported.
|
|
|
| -T foo<T>(T x) {
|
| +dynamic foo(dynamic x) {
|
| return x as
|
| FutureOr< /// 00: runtime error, static type warning
|
| - T
|
| + int
|
| > /// 00: continued
|
| ;
|
| }
|
|
|
| main() {
|
| - if (499 != foo<int>(499)) throw "bad";
|
| -}
|
| + if (499 != foo(499)) throw "bad";
|
| +}
|
|
|