| Index: pkg/analyzer/test/src/dart/analysis/driver_test.dart
|
| diff --git a/pkg/analyzer/test/src/dart/analysis/driver_test.dart b/pkg/analyzer/test/src/dart/analysis/driver_test.dart
|
| index 607401ec002dcfebe857d95aebc908383567524f..30c89f5762b536fc79654b89dbf370851631003d 100644
|
| --- a/pkg/analyzer/test/src/dart/analysis/driver_test.dart
|
| +++ b/pkg/analyzer/test/src/dart/analysis/driver_test.dart
|
| @@ -1323,6 +1323,18 @@ class B {}
|
| expect(result.path, testFile);
|
| }
|
|
|
| + test_getResult_genericFunctionType_parameter_named() async {
|
| + String content = '''
|
| +class C {
|
| + test({bool Function(String) p}) {}
|
| +}
|
| +''';
|
| + addTestFile(content, priority: true);
|
| +
|
| + var result = await driver.getResult(testFile);
|
| + expect(result.errors, isEmpty);
|
| + }
|
| +
|
| test_getResult_inferTypes_finalField() async {
|
| addTestFile(
|
| r'''
|
|
|