File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1561,7 +1561,6 @@ module ts {
15611561 let i = 0;
15621562 if (outerTypeParameters) {
15631563 let length = outerTypeParameters.length;
1564- let group = 0;
15651564 while (i < length) {
15661565 // Find group of type arguments for type parameters with the same declaring container.
15671566 let start = i;
@@ -1572,16 +1571,10 @@ module ts {
15721571 // When type parameters are their own type arguments for the whole group (i.e. we have
15731572 // the default outer type arguments), we don't show the group.
15741573 if (!rangeEquals(outerTypeParameters, typeArguments, start, i)) {
1575- if (group) {
1576- writePunctuation(writer, SyntaxKind.DotToken);
1577- }
15781574 writeSymbolTypeReference(parent, typeArguments, start, i);
1579- group++ ;
1575+ writePunctuation(writer, SyntaxKind.DotToken) ;
15801576 }
15811577 }
1582- if (group) {
1583- writePunctuation(writer, SyntaxKind.DotToken);
1584- }
15851578 }
15861579 writeSymbolTypeReference(type.symbol, typeArguments, i, typeArguments.length);
15871580 }
You can’t perform that action at this time.
0 commit comments