| Index: pkg/analyzer/lib/src/summary/resynthesize.dart
|
| diff --git a/pkg/analyzer/lib/src/summary/resynthesize.dart b/pkg/analyzer/lib/src/summary/resynthesize.dart
|
| index b93821b6953351c7f8f05b6d8a445404435ddd16..ab28202d821488d62b27f4d830c0e5aa2a24c3cc 100644
|
| --- a/pkg/analyzer/lib/src/summary/resynthesize.dart
|
| +++ b/pkg/analyzer/lib/src/summary/resynthesize.dart
|
| @@ -850,7 +850,13 @@ class _LibraryResynthesizer {
|
| case UnlinkedExecutableKind.functionOrMethod:
|
| case UnlinkedExecutableKind.getter:
|
| case UnlinkedExecutableKind.setter:
|
| + if (serializedExecutable.isStatic) {
|
| + currentTypeParameters.removeLast();
|
| + }
|
| buildExecutable(serializedExecutable, memberHolder);
|
| + if (serializedExecutable.isStatic) {
|
| + currentTypeParameters.add(classElement.typeParameters);
|
| + }
|
| break;
|
| }
|
| }
|
| @@ -1647,7 +1653,7 @@ class _LibraryResynthesizer {
|
| }
|
|
|
| /**
|
| - * Build [TypeParameterElements] corresponding to the type parameters in
|
| + * Build [TypeParameterElement]s corresponding to the type parameters in
|
| * [serializedTypeParameters] and store them in [currentTypeParameters].
|
| * Also return them.
|
| */
|
|
|