| Index: pkg/analyzer/test/src/summary/resynthesize_test.dart
|
| diff --git a/pkg/analyzer/test/src/summary/resynthesize_test.dart b/pkg/analyzer/test/src/summary/resynthesize_test.dart
|
| index 0b5b193a3fd908992233d81ea3a96557ae1ef9af..b51e440c1664343756833158a8c19ac77bac33e7 100644
|
| --- a/pkg/analyzer/test/src/summary/resynthesize_test.dart
|
| +++ b/pkg/analyzer/test/src/summary/resynthesize_test.dart
|
| @@ -2994,6 +2994,62 @@ class C {
|
| checkLibrary('class C { void f<T, U>(T x(U u)) {} }');
|
| }
|
|
|
| + test_nested_generic_functions_in_generic_class_with_function_typed_params() {
|
| + checkLibrary('''
|
| +class C<T, U> {
|
| + void g<V, W>() {
|
| + void h<X, Y>(void p(T t, U u, V v, W w, X x, Y y)) {
|
| + }
|
| + }
|
| +}
|
| +''');
|
| + }
|
| +
|
| + test_nested_generic_functions_in_generic_class_with_local_variables() {
|
| + checkLibrary('''
|
| +class C<T, U> {
|
| + void g<V, W>() {
|
| + void h<X, Y>() {
|
| + T t;
|
| + U u;
|
| + V v;
|
| + W w;
|
| + X x;
|
| + Y y;
|
| + }
|
| + }
|
| +}
|
| +''');
|
| + }
|
| +
|
| + test_nested_generic_functions_with_function_typed_param() {
|
| + checkLibrary('''
|
| +void f<T, U>() {
|
| + void g<V, W>() {
|
| + void h<X, Y>(void p(T t, U u, V v, W w, X x, Y y)) {
|
| + }
|
| + }
|
| +}
|
| +''');
|
| + }
|
| +
|
| + test_nested_generic_functions_with_local_variables() {
|
| + checkLibrary('''
|
| +void f<T, U>() {
|
| + void g<V, W>() {
|
| + void h<X, Y>() {
|
| + T t;
|
| + U u;
|
| + V v;
|
| + W w;
|
| + X x;
|
| + Y y;
|
| + }
|
| + }
|
| +}
|
| +''');
|
| + }
|
| +
|
| test_operator() {
|
| checkLibrary('class C { C operator+(C other) => null; }');
|
| }
|
|
|