Commit 9a357c1
authored
Fix wrong script info used to resolve line/offset for call hierarchy items (microsoft#36559)
1 parent 01af3aa commit 9a357c1Copy full SHA for 9a357c1
5 files changed
+110-29Lines changed: 110 additions & 29 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- src
- server
- services
- tests
- baselines/reference
- api
- cases/fourslash
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+16-20Lines changed: 16 additions & 20 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2164 | 2164 | |
2165 | 2165 | |
2166 | 2166 | |
2167 | | - |
| 2167 | + |
| 2168 | + |
| 2169 | + |
2168 | 2170 | |
2169 | | - |
2170 | | - |
2171 | | - |
2172 | | - |
2173 | | - |
2174 | | - |
| 2171 | + |
| 2172 | + |
2175 | 2173 | |
| 2174 | + |
| 2175 | + |
| 2176 | + |
| 2177 | + |
| 2178 | + |
2176 | 2179 | |
2177 | 2180 | |
2178 | 2181 | |
| ||
2182 | 2185 | |
2183 | 2186 | |
2184 | 2187 | |
2185 | | - |
| 2188 | + |
| 2189 | + |
2186 | 2190 | |
2187 | 2191 | |
2188 | 2192 | |
| ||
2202 | 2206 | |
2203 | 2207 | |
2204 | 2208 | |
2205 | | - |
| 2209 | + |
2206 | 2210 | |
2207 | 2211 | |
2208 | 2212 | |
2209 | 2213 | |
2210 | 2214 | |
2211 | 2215 | |
2212 | | - |
2213 | | - |
2214 | | - |
2215 | | - |
2216 | | - |
| 2216 | + |
2217 | 2217 | |
2218 | | - |
| 2218 | + |
2219 | 2219 | |
2220 | 2220 | |
2221 | 2221 | |
2222 | 2222 | |
2223 | | - |
2224 | | - |
2225 | | - |
2226 | | - |
2227 | | - |
| 2223 | + |
2228 | 2224 | |
2229 | 2225 | |
2230 | 2226 | |
|
Collapse file
src/services/callHierarchy.ts
Copy file name to clipboardExpand all lines: src/services/callHierarchy.ts+11-9Lines changed: 11 additions & 9 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
260 | 260 | |
261 | 261 | |
262 | 262 | |
263 | | - |
| 263 | + |
264 | 264 | |
265 | | - |
266 | | - |
267 | | - |
268 | | - |
269 | | - |
270 | | - |
271 | | - |
272 | | - |
| 265 | + |
| 266 | + |
| 267 | + |
| 268 | + |
| 269 | + |
| 270 | + |
| 271 | + |
| 272 | + |
| 273 | + |
| 274 | + |
273 | 275 | |
274 | 276 | |
275 | 277 | |
|
Collapse file
tests/baselines/reference/api/tsserverlibrary.d.ts
Copy file name to clipboardExpand all lines: tests/baselines/reference/api/tsserverlibrary.d.ts+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
9551 | 9551 | |
9552 | 9552 | |
9553 | 9553 | |
| 9554 | + |
9554 | 9555 | |
9555 | 9556 | |
9556 | 9557 | |
|
Collapse file
tests/baselines/reference/callHierarchyCrossFile.callHierarchy.txt
Copy file name to clipboard+63Lines changed: 63 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
Collapse file
tests/cases/fourslash/callHierarchyCrossFile.ts
Copy file name to clipboard+19Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
0 commit comments