Commit 61e9074
committed
Ensure that Sendable is inherited properly, take 3.
Extend the implicit Sendable request to produce an inherited
conformance when queried, rather than depending on the conformance
lookup table to always have the right entries. This acknowledges that
implicit Sendable needs to happen more at the type checking level than
the name-binding level, which is needed to eliminate cyclic
dependencies.1 parent 529bbec commit 61e9074
File tree
4 files changed
+31
-16
lines changed- include/swift/AST
- lib/Sema
- test/ClangImporter
4 files changed
+31
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3095 | 3095 | | |
3096 | 3096 | | |
3097 | 3097 | | |
3098 | | - | |
| 3098 | + | |
3099 | 3099 | | |
3100 | 3100 | | |
3101 | 3101 | | |
3102 | 3102 | | |
3103 | 3103 | | |
3104 | 3104 | | |
3105 | 3105 | | |
3106 | | - | |
| 3106 | + | |
3107 | 3107 | | |
3108 | 3108 | | |
3109 | 3109 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
354 | 354 | | |
355 | 355 | | |
356 | 356 | | |
357 | | - | |
| 357 | + | |
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3855 | 3855 | | |
3856 | 3856 | | |
3857 | 3857 | | |
3858 | | - | |
| 3858 | + | |
3859 | 3859 | | |
3860 | 3860 | | |
3861 | 3861 | | |
| |||
3900 | 3900 | | |
3901 | 3901 | | |
3902 | 3902 | | |
| 3903 | + | |
| 3904 | + | |
| 3905 | + | |
| 3906 | + | |
| 3907 | + | |
3903 | 3908 | | |
3904 | 3909 | | |
3905 | 3910 | | |
3906 | | - | |
3907 | | - | |
3908 | | - | |
3909 | | - | |
3910 | | - | |
3911 | 3911 | | |
3912 | 3912 | | |
3913 | 3913 | | |
| |||
3959 | 3959 | | |
3960 | 3960 | | |
3961 | 3961 | | |
3962 | | - | |
3963 | | - | |
3964 | | - | |
| 3962 | + | |
| 3963 | + | |
3965 | 3964 | | |
3966 | 3965 | | |
3967 | 3966 | | |
3968 | | - | |
| 3967 | + | |
3969 | 3968 | | |
3970 | | - | |
3971 | | - | |
3972 | | - | |
| 3969 | + | |
| 3970 | + | |
| 3971 | + | |
| 3972 | + | |
| 3973 | + | |
| 3974 | + | |
| 3975 | + | |
| 3976 | + | |
| 3977 | + | |
3973 | 3978 | | |
3974 | 3979 | | |
3975 | 3980 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
221 | 231 | | |
0 commit comments