mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
7856f2d83d only partially skipped writing
out destructors when they were invalid, ie. it skipped writing the decl
itself but not the records common to all decls. This would cause any
records on the destructor to be applied on the next serialized decl.
Make sure to skip serializing anything to do with the destructor when
it's invalid and does not have a class context.
218 KiB
218 KiB