mirror of
https://github.com/apple/swift.git
synced 2026-06-27 12:25:55 +02:00
4a47190335
A @_fixed_layout protocol exposes its witness table layout to clients, which prevents re-ordering of requirements or adding new requiremenst with a default. When library evolution is enabled, we still emit method descriptors even for @_fixed_layout protocols; this allows a previously-resilient protocol to become @_fixed_layout as long as the published layout matches the resilient layout in all previously-shipped versions of the library.