File tree Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ /// <reference path='fourslash.ts'/>
2
+
3
+ // @Filename : a.ts
4
+ ////interface A {
5
+ //// foo: string;
6
+ //// }
7
+
8
+ // @Filename : b.ts
9
+ ///////<reference path='a.ts'/>
10
+ /////*0*/
11
+ ////function foo(x: A) {
12
+ //// x.f/*1*/oo
13
+ //// }
14
+
15
+ goTo . marker ( "1" ) ;
16
+ verify . referencesCountIs ( 2 ) ;
17
+
18
+ goTo . marker ( "0" ) ;
19
+ edit . insert ( "\r\n" ) ;
20
+
21
+ goTo . marker ( "1" ) ;
22
+ verify . referencesCountIs ( 2 ) ;
Original file line number Diff line number Diff line change
1
+ /// <reference path='fourslash.ts'/>
2
+
3
+ /////*0*/
4
+ ////interface A {
5
+ //// foo: string;
6
+ //// }
7
+ ////function foo(x: A) {
8
+ //// x.f/*1*/oo
9
+ //// }
10
+
11
+ goTo . marker ( "1" ) ;
12
+ verify . occurrencesAtPositionCount ( 2 ) ;
13
+
14
+ goTo . marker ( "0" ) ;
15
+ edit . insert ( "\r\n" ) ;
16
+
17
+ goTo . marker ( "1" ) ;
18
+ verify . occurrencesAtPositionCount ( 2 ) ;
You can’t perform that action at this time.
0 commit comments