Commit 2610a2b
[cfe] Cache the context type when we resolve a dot shorthand.
Using the type analyzer to cache a shorthand context type. This mechanism will be shared between the analyzer and the CFE.
There will be tests for this one the implementation strings through to this part. But otherwise, it's fairly straightforward logic.
Bug: #59758
Change-Id: I88ac8283d2901d7d141992ab5ab3a83e40be5912
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/410943
Reviewed-by: Paul Berry <[email protected]>
Commit-Queue: Kallen Tu <[email protected]>1 parent 3929dd2 commit 2610a2b
2 files changed
+22
-2
lines changedLines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
274 | 277 | | |
275 | 278 | | |
276 | 279 | | |
| |||
535 | 538 | | |
536 | 539 | | |
537 | 540 | | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
538 | 552 | | |
539 | 553 | | |
540 | 554 | | |
| |||
2146 | 2160 | | |
2147 | 2161 | | |
2148 | 2162 | | |
| 2163 | + | |
| 2164 | + | |
| 2165 | + | |
2149 | 2166 | | |
2150 | 2167 | | |
2151 | 2168 | | |
| |||
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12107 | 12107 | | |
12108 | 12108 | | |
12109 | 12109 | | |
12110 | | - | |
12111 | | - | |
| 12110 | + | |
| 12111 | + | |
| 12112 | + | |
| 12113 | + | |
| 12114 | + | |
12112 | 12115 | | |
12113 | 12116 | | |
12114 | 12117 | | |
| |||
0 commit comments