Commit 37af167
[analysis_server] Fix missing semantic token modifiers for dynamics
This removes `_addIdentifierRegion_dynamicLocal` and just inlines the region kind into the existing variable/name methods, that way the modifiers are still applied without having to duplicate them in `_addIdentifierRegion_dynamicLocal`.
Fixes Dart-Code/Dart-Code#5324
Change-Id: I7f39ec828c916de0fb99d8c71baa78a2f690c94b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/392582
Reviewed-by: Brian Wilkerson <[email protected]>
Reviewed-by: Samuel Rawlins <[email protected]>
Commit-Queue: Samuel Rawlins <[email protected]>1 parent 56fc836 commit 37af167
File tree
2 files changed
+14
-24
lines changed- pkg/analysis_server
- lib/src/computer
- test/lsp
2 files changed
+14
-24
lines changedLines changed: 6 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | 122 | | |
126 | 123 | | |
127 | 124 | | |
| |||
229 | 226 | | |
230 | 227 | | |
231 | 228 | | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | 229 | | |
250 | 230 | | |
251 | 231 | | |
| |||
407 | 387 | | |
408 | 388 | | |
409 | 389 | | |
410 | | - | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
411 | 393 | | |
412 | 394 | | |
413 | 395 | | |
| |||
438 | 420 | | |
439 | 421 | | |
440 | 422 | | |
441 | | - | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
442 | 426 | | |
443 | 427 | | |
444 | 428 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1337 | 1337 | | |
1338 | 1338 | | |
1339 | 1339 | | |
1340 | | - | |
1341 | | - | |
| 1340 | + | |
| 1341 | + | |
1342 | 1342 | | |
1343 | 1343 | | |
1344 | 1344 | | |
| |||
1348 | 1348 | | |
1349 | 1349 | | |
1350 | 1350 | | |
| 1351 | + | |
| 1352 | + | |
| 1353 | + | |
1351 | 1354 | | |
1352 | 1355 | | |
1353 | 1356 | | |
1354 | 1357 | | |
| 1358 | + | |
| 1359 | + | |
| 1360 | + | |
1355 | 1361 | | |
1356 | 1362 | | |
1357 | 1363 | | |
| |||
0 commit comments