| 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 79b6d85283a482d8937de775567476a4a6b307a9..1f8a374ba89a1e6f52dcac6b74bd81d7a8322269 100644
|
| --- a/pkg/analyzer/lib/src/summary/resynthesize.dart
|
| +++ b/pkg/analyzer/lib/src/summary/resynthesize.dart
|
| @@ -2045,6 +2045,9 @@ class _LibraryResynthesizer {
|
| }
|
| ElementLocation location =
|
| new ElementLocationImpl.con3(locationComponents);
|
| + if (enclosingInfo != null) {
|
| + numTypeParameters += enclosingInfo.numTypeParameters;
|
| + }
|
| switch (linkedReference.kind) {
|
| case ReferenceKind.classOrEnum:
|
| element = new ClassElementHandle(summaryResynthesizer, location);
|
| @@ -2053,7 +2056,6 @@ class _LibraryResynthesizer {
|
| assert(location.components.length == 4);
|
| element =
|
| new ConstructorElementHandle(summaryResynthesizer, location);
|
| - numTypeParameters = enclosingInfo.numTypeParameters;
|
| break;
|
| case ReferenceKind.length:
|
| element = _buildStringLengthPropertyAccessorElement();
|
|
|