mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-17 11:24:29 -05:00
Disabled findAllRefs for 'this'/'super'.
This commit is contained in:
@@ -2378,8 +2378,9 @@ module ts {
|
||||
}
|
||||
|
||||
if (node.kind !== SyntaxKind.Identifier &&
|
||||
node.kind !== SyntaxKind.ThisKeyword &&
|
||||
node.kind !== SyntaxKind.SuperKeyword &&
|
||||
// TODO (drosen): This should be enabled in a later release - currently breaks rename.
|
||||
//node.kind !== SyntaxKind.ThisKeyword &&
|
||||
//node.kind !== SyntaxKind.SuperKeyword &&
|
||||
!isLiteralNameOfPropertyDeclarationOrIndexAccess(node) &&
|
||||
!isNameOfExternalModuleImportOrDeclaration(node)) {
|
||||
return undefined;
|
||||
|
||||
Reference in New Issue
Block a user