Commit 91998f6
committed
[Constriant solver] Don't adjust types in calls to
When calling a `@preconcurrency` function, don't adjust the types of
parameters. Instead, we'll suppress or alter diagnostics later on to deal
with Sendable and global-actor mismatches.
Fixes the crash from rdar://95995193, but diagnostics need more work.@preconcurrency functions1 parent fc24be2 commit 91998f6
File tree
2 files changed
+16
-5
lines changed- lib/Sema
- test/SILGen
2 files changed
+16
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
544 | 544 | | |
545 | 545 | | |
546 | 546 | | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
547 | 551 | | |
548 | 552 | | |
549 | 553 | | |
| |||
4032 | 4036 | | |
4033 | 4037 | | |
4034 | 4038 | | |
4035 | | - | |
| 4039 | + | |
4036 | 4040 | | |
4037 | 4041 | | |
4038 | 4042 | | |
4039 | 4043 | | |
4040 | 4044 | | |
| 4045 | + | |
| 4046 | + | |
| 4047 | + | |
| 4048 | + | |
| 4049 | + | |
| 4050 | + | |
| 4051 | + | |
4041 | 4052 | | |
4042 | 4053 | | |
4043 | 4054 | | |
| |||
4641 | 4652 | | |
4642 | 4653 | | |
4643 | 4654 | | |
4644 | | - | |
| 4655 | + | |
4645 | 4656 | | |
4646 | 4657 | | |
4647 | 4658 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
0 commit comments