Commit 6f7f8fd
authored
@inlinable public init(_ base: Base) { self.base = base } fails under
-enable-library-evolution because the let property's layout is resilient.
Marking the wrapper struct @Frozen freezes its layout, which is sound for
a transparent single-property wrapper and unlocks library-evolution
consumers (e.g. modules built with BUILD_LIBRARY_FOR_DISTRIBUTION=YES).
1 parent 1ee87bd commit 6f7f8fd
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
0 commit comments