Commit 7ba9601
committed
Sema: Skip storage diagnostic for
Relax the diagnostics for the `@exclusivity` attribute in order to avoid type
checking failures for `public private(set)` properties in resilient libraries.
In a `swiftinterface` it's not possible to tell reliably whether a property has
storage.
Resolves rdar://107770440@exclusivity in swiftinterfaces.1 parent 1a0b180 commit 7ba9601
File tree
2 files changed
+59
-11
lines changed- lib/Sema
- test/ModuleInterface
2 files changed
+59
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2962 | 2962 | | |
2963 | 2963 | | |
2964 | 2964 | | |
2965 | | - | |
2966 | | - | |
2967 | | - | |
2968 | | - | |
| 2965 | + | |
| 2966 | + | |
| 2967 | + | |
| 2968 | + | |
| 2969 | + | |
| 2970 | + | |
| 2971 | + | |
| 2972 | + | |
| 2973 | + | |
2969 | 2974 | | |
2970 | | - | |
2971 | | - | |
| 2975 | + | |
| 2976 | + | |
2972 | 2977 | | |
2973 | | - | |
2974 | | - | |
| 2978 | + | |
| 2979 | + | |
2975 | 2980 | | |
2976 | | - | |
2977 | | - | |
| 2981 | + | |
| 2982 | + | |
2978 | 2983 | | |
2979 | 2984 | | |
2980 | | - | |
| 2985 | + | |
2981 | 2986 | | |
2982 | 2987 | | |
2983 | 2988 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
0 commit comments