Commit 920ddae
Re-write of the computation of the context type for code completion. Instead of passing a parent and child node, a parent node with an offset is passed. The primary purpose of this change was to fix a bug with argument lists which is close to being fixed.
I will follow up with some additional fixes and tests for map and list literals.
Change-Id: I1a26e8f900dcf13402385a49e8f3538c5d1b39df
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/151030
Commit-Queue: Jaime Wren <[email protected]>
Reviewed-by: Brian Wilkerson <[email protected]>1 parent 459255a commit 920ddae
File tree
6 files changed
+275
-71
lines changed- pkg
- analysis_server
- lib/src/services/completion/dart
- test/src/services/completion/dart
- tool/completion_metrics
- analyzer
- lib/source
- test/generated
6 files changed
+275
-71
lines changedLines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
429 | 429 | | |
430 | 430 | | |
431 | 431 | | |
432 | | - | |
433 | | - | |
434 | | - | |
| 432 | + | |
| 433 | + | |
435 | 434 | | |
436 | 435 | | |
437 | 436 | | |
| |||
0 commit comments