File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -2378,8 +2378,9 @@ module ts {
2378
2378
}
2379
2379
2380
2380
if ( node . kind !== SyntaxKind . Identifier &&
2381
- node . kind !== SyntaxKind . ThisKeyword &&
2382
- node . kind !== SyntaxKind . SuperKeyword &&
2381
+ // TODO (drosen): This should be enabled in a later release - currently breaks rename.
2382
+ //node.kind !== SyntaxKind.ThisKeyword &&
2383
+ //node.kind !== SyntaxKind.SuperKeyword &&
2383
2384
! isLiteralNameOfPropertyDeclarationOrIndexAccess ( node ) &&
2384
2385
! isNameOfExternalModuleImportOrDeclaration ( node ) ) {
2385
2386
return undefined ;
Original file line number Diff line number Diff line change 12
12
13
13
goTo . file ( "file1.ts" ) ;
14
14
goTo . marker ( ) ;
15
- verify . referencesCountIs ( 8 ) ;
15
+
16
+ // TODO (drosen): The CURRENT behavior is that findAllRefs doesn't work on 'this' or 'super' keywords.
17
+ // This should change down the line.
18
+ verify . referencesCountIs ( 0 ) ;
You can’t perform that action at this time.
0 commit comments