mirror of
https://github.com/apple/swift.git
synced 2026-10-02 10:58:03 +02:00
`discard self` requires knowledge of the internal layout of the type in order to clean up its fields while bypassing its public `deinit`. Inlinable code can get copied into and run from outside of the defining module, so this is impossible to implement. Fixes rdar://160815058.
745 B
745 B