| 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 21eb70ac5f143de92baf16481f59c1567bf8aa45..367abd79502690cfef072f5ad30188a1833201db 100644
|
| --- a/pkg/analyzer/test/generated/non_error_resolver_test.dart
|
| +++ b/pkg/analyzer/test/generated/non_error_resolver_test.dart
|
| @@ -3164,6 +3164,23 @@ class B extends A {
|
| verify([source]);
|
| }
|
|
|
| + void test_invocationOfNonFunction_functionTypeTypeParameter() {
|
| + Source source = addSource(r'''
|
| +typedef void Action<T>(T x);
|
| +class C<T, U extends Action<T>> {
|
| + T value;
|
| + U action;
|
| + C(this.value, [this.action]);
|
| + void act() {
|
| + action(value);
|
| + }
|
| +}
|
| +''');
|
| + computeLibrarySourceErrors(source);
|
| + assertNoErrors(source);
|
| + verify([source]);
|
| + }
|
| +
|
| void test_invocationOfNonFunction_getter() {
|
| Source source = addSource(r'''
|
| class A {
|
|
|