Commit b1d9ae0
committed
[CSSimplify] Delay
If left-hand side of any conversion constraint is `inout` type
and right is a pointer (or optional thereof), delay simplification
until `inout` is at least partially structurally resolved (cannot
be a type variable or dependent member) because eager simplification
won't record all of the possible conversions.inout type to pointer conversion until inout is sufficiently resolved1 parent 7753ad0 commit b1d9ae0
File tree
4 files changed
+28
-24
lines changed- lib/Sema
- test
- Constraints
- Sema
4 files changed
+28
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7683 | 7683 | | |
7684 | 7684 | | |
7685 | 7685 | | |
7686 | | - | |
| 7686 | + | |
| 7687 | + | |
7687 | 7688 | | |
7688 | | - | |
7689 | | - | |
7690 | | - | |
| 7689 | + | |
| 7690 | + | |
| 7691 | + | |
| 7692 | + | |
| 7693 | + | |
| 7694 | + | |
7691 | 7695 | | |
7692 | | - | |
7693 | | - | |
7694 | | - | |
7695 | 7696 | | |
7696 | 7697 | | |
7697 | 7698 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
478 | 478 | | |
479 | 479 | | |
480 | 480 | | |
481 | | - | |
| 481 | + | |
482 | 482 | | |
483 | | - | |
484 | | - | |
| 483 | + | |
485 | 484 | | |
486 | | - | |
| 485 | + | |
487 | 486 | | |
488 | | - | |
489 | | - | |
| 487 | + | |
490 | 488 | | |
491 | | - | |
| 489 | + | |
492 | 490 | | |
493 | | - | |
494 | | - | |
| 491 | + | |
495 | 492 | | |
496 | 493 | | |
497 | 494 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | | - | |
202 | | - | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
203 | 205 | | |
204 | 206 | | |
205 | 207 | | |
| |||
221 | 223 | | |
222 | 224 | | |
223 | 225 | | |
224 | | - | |
225 | | - | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
226 | 230 | | |
227 | 231 | | |
228 | 232 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | | - | |
202 | | - | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
203 | 204 | | |
204 | 205 | | |
205 | 206 | | |
| |||
221 | 222 | | |
222 | 223 | | |
223 | 224 | | |
224 | | - | |
225 | | - | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
226 | 228 | | |
227 | 229 | | |
228 | 230 | | |
| |||
0 commit comments