Commit b07c887
committed
[ConstraintSystem] Retrieve contextual from a solution for ambiguities
In ambiguity scenarios solutions are not applied back to the constraint
system, so it might not always have contextual type information when it
was recorded e.g. for a multi-statement closure.
Resolves: rdar://973963991 parent dd40e14 commit b07c887
File tree
2 files changed
+17
-6
lines changed- include/swift/Sema
- lib/Sema
2 files changed
+17
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1489 | 1489 | | |
1490 | 1490 | | |
1491 | 1491 | | |
| 1492 | + | |
| 1493 | + | |
| 1494 | + | |
| 1495 | + | |
| 1496 | + | |
| 1497 | + | |
| 1498 | + | |
| 1499 | + | |
| 1500 | + | |
1492 | 1501 | | |
1493 | 1502 | | |
1494 | 1503 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4257 | 4257 | | |
4258 | 4258 | | |
4259 | 4259 | | |
| 4260 | + | |
| 4261 | + | |
| 4262 | + | |
| 4263 | + | |
4260 | 4264 | | |
4261 | | - | |
4262 | | - | |
| 4265 | + | |
4263 | 4266 | | |
4264 | 4267 | | |
4265 | 4268 | | |
| |||
4272 | 4275 | | |
4273 | 4276 | | |
4274 | 4277 | | |
4275 | | - | |
4276 | | - | |
4277 | | - | |
4278 | | - | |
| 4278 | + | |
| 4279 | + | |
| 4280 | + | |
4279 | 4281 | | |
4280 | 4282 | | |
4281 | 4283 | | |
| |||
0 commit comments