Skip to content

Commit

Permalink
Merge pull request #3924 from kisstkondoros/fix/3923
Browse files Browse the repository at this point in the history
Fix reference error in convert method of OutlineAdapter
  • Loading branch information
hediet committed Apr 24, 2023
2 parents 8270c45 + c270d67 commit b61f404
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/language/typescript/languageFeatures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -890,7 +890,7 @@ export class OutlineAdapter extends Adapter implements languages.DocumentSymbolP
range: this._textSpanToRange(model, item.spans[0]),
selectionRange: this._textSpanToRange(model, item.spans[0]),
tags: [],
children: item.childItems?.map((child) => convert(child, result.name)),
children: item.childItems?.map((child) => convert(child, item.text)),
containerName: containerLabel
};
return result;
Expand Down

0 comments on commit b61f404

Please sign in to comment.