mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
Disabled findAllRefs for 'this'/'super'.
This commit is contained in:
1 parent
1cd0b306ed
commit
131ac2f188
2 files changed
+7
-3
No files matched your search
@@ -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