File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -4694,7 +4694,8 @@ namespace ts {
4694
4694
if ( ! ( container . kind === SyntaxKind . ModuleBlock || container . kind === SyntaxKind . SourceFile ) ) {
4695
4695
return undefined ;
4696
4696
}
4697
- } else if ( modifier === SyntaxKind . AbstractKeyword ) {
4697
+ }
4698
+ else if ( modifier === SyntaxKind . AbstractKeyword ) {
4698
4699
if ( ! ( container . kind === SyntaxKind . ClassDeclaration || declaration . kind === SyntaxKind . ClassDeclaration ) ) {
4699
4700
return undefined ;
4700
4701
}
Original file line number Diff line number Diff line change 10
10
//// abstract bar(): void;
11
11
//// }
12
12
13
- test . ranges ( ) . forEach ( r => {
13
+ const ranges = test . ranges ( ) ;
14
+
15
+ for ( let r of ranges ) {
14
16
goTo . position ( r . start ) ;
15
- verify . occurrencesAtPositionCount ( test . ranges ( ) . length ) ;
17
+ verify . occurrencesAtPositionCount ( ranges . length ) ;
16
18
17
- test . ranges ( ) . forEach ( range => {
19
+ for ( let range of ranges ) {
18
20
verify . occurrencesAtPositionContains ( range , false ) ;
19
- } ) ;
20
- } ) ;
21
+ }
22
+ }
You can’t perform that action at this time.
0 commit comments