Commit f4b75ac
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 9d111b1 commit f4b75ac
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 | | |
| |||
3981 | 3985 | | |
3982 | 3986 | | |
3983 | 3987 | | |
3984 | | - | |
| 3988 | + | |
3985 | 3989 | | |
3986 | 3990 | | |
3987 | 3991 | | |
3988 | 3992 | | |
3989 | 3993 | | |
| 3994 | + | |
| 3995 | + | |
| 3996 | + | |
| 3997 | + | |
| 3998 | + | |
| 3999 | + | |
| 4000 | + | |
3990 | 4001 | | |
3991 | 4002 | | |
3992 | 4003 | | |
| |||
4590 | 4601 | | |
4591 | 4602 | | |
4592 | 4603 | | |
4593 | | - | |
| 4604 | + | |
4594 | 4605 | | |
4595 | 4606 | | |
4596 | 4607 | | |
| |||
| 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