| Index: test/checker/checker_test.dart
|
| diff --git a/test/checker/checker_test.dart b/test/checker/checker_test.dart
|
| index 1a2cf7a3040c4bc7ba4203ff7dabb0892ba94dd4..374da04ad460449f4d2c715707193052f5d0027c 100644
|
| --- a/test/checker/checker_test.dart
|
| +++ b/test/checker/checker_test.dart
|
| @@ -2686,6 +2686,16 @@ void main() {
|
| Future bar2() async { return x; }
|
| Future<int> bar3() async { return (/*info:DynamicCast*/x); }
|
| Future<int> bar4() async { return (/*severe:StaticTypeError*/new Future<int>(x)); }
|
| +
|
| + int y;
|
| + Future<int> z;
|
| +
|
| + void baz() async {
|
| + int a = /*info:DynamicCast*/await /*info:DynamicCast*/x;
|
| + int b = await /*severe:StaticTypeError*/y;
|
| + int c = await z;
|
| + String d = /*severe:StaticTypeError*/await z;
|
| + }
|
| '''
|
| }));
|
|
|
|
|