mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This cleanup exposed a problem with deserialization recovery and property wrappers. If deserializing a property backed by a wrapper failed, the lazy member lookup would fail, but subsequently a loadAllMembers() call would still load the property. This behavior is actually incorrect, because silently dropping a stored property of a @frozen struct can result in miscompiles. I've filed rdar://59403542 and rdar://59403617 to track fixing this. In the meantime, I've tweaked the logic a bit to preserve the old behavior.
91 KiB
91 KiB