| 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 469fda26e0c260163bc26cdcdfca174604000d32..dded5f2944cddbc0743fe19232a66986e2c65a86 100644
|
| --- a/pkg/analyzer/test/src/dart/analysis/driver_test.dart
|
| +++ b/pkg/analyzer/test/src/dart/analysis/driver_test.dart
|
| @@ -862,6 +862,20 @@ main() {
|
| expect(unitA.context.getContents(sourceB).data, 'var v = 2;');
|
| }
|
|
|
| + test_getResult_functionTypeFormalParameter_withTypeParameter() async {
|
| + // This was code crashing because of incomplete implementation.
|
| + // Consider (re)moving after fixing dartbug.com/28515
|
| + addTestFile(r'''
|
| +class A {
|
| + int foo( bar<T extends B>() ) {}
|
| +}
|
| +class B {}
|
| +''');
|
| +
|
| + AnalysisResult result = await driver.getResult(testFile);
|
| + expect(result.path, testFile);
|
| + }
|
| +
|
| test_getResult_inferTypes_finalField() async {
|
| addTestFile(
|
| r'''
|
|
|