mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01: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