| Index: pkg/analyzer/test/src/task/strong/checker_test.dart
|
| diff --git a/pkg/analyzer/test/src/task/strong/checker_test.dart b/pkg/analyzer/test/src/task/strong/checker_test.dart
|
| index c38122e49c95991020fcfa4faf661ca55a0509c6..73fc16c5d48b058ac12fa345a192ac27da6a7e59 100644
|
| --- a/pkg/analyzer/test/src/task/strong/checker_test.dart
|
| +++ b/pkg/analyzer/test/src/task/strong/checker_test.dart
|
| @@ -2424,6 +2424,21 @@ var fe1 = (int x) => x;
|
| check(implicitDynamic: false);
|
| }
|
|
|
| + void test_implicitDynamic_static() {
|
| + addFile(r'''
|
| +class C {
|
| + static void test(int body()) {}
|
| +}
|
| +
|
| +void main() {
|
| + C.test(/*info:INFERRED_TYPE_CLOSURE*/() {
|
| + return 42;
|
| + });
|
| +}
|
| +''');
|
| + check(implicitDynamic: false);
|
| + }
|
| +
|
| void test_implicitDynamic_type() {
|
| addFile(r'''
|
| class C<T> {}
|
|
|