| Index: pkg/analyzer/test/generated/non_error_resolver_test.dart
|
| diff --git a/pkg/analyzer/test/generated/non_error_resolver_test.dart b/pkg/analyzer/test/generated/non_error_resolver_test.dart
|
| index 41a5185698042beccfc29c216f930ff37a291fed..1be8c5ba9df826c388194dd0a97564257cd33728 100644
|
| --- a/pkg/analyzer/test/generated/non_error_resolver_test.dart
|
| +++ b/pkg/analyzer/test/generated/non_error_resolver_test.dart
|
| @@ -5125,6 +5125,19 @@ F<B> fb;
|
| verify([source]);
|
| }
|
|
|
| + void test_typeArgumentNotMatchingBounds_ofFunctionTypeAlias_hasBound2() {
|
| + Source source = addSource(r'''
|
| +class MyClass<T> {}
|
| +typedef MyFunction<T, P extends MyClass<T>>();
|
| +class A<T, P extends MyClass<T>> {
|
| + MyFunction<T, P> f;
|
| +}
|
| +''');
|
| + computeLibrarySourceErrors(source);
|
| + assertNoErrors(source);
|
| + verify([source]);
|
| + }
|
| +
|
| void test_typeArgumentNotMatchingBounds_ofFunctionTypeAlias_noBound() {
|
| Source source = addSource(r'''
|
| typedef F<T>();
|
|
|