mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Add dynamic enforcement of exclusive access when a KeyPath directly accesses a final stored property on an instance of a class. For read-only projections, this begins and ends the access immediately. For mutable projections, this uses the ClassHolder to perform a long-term access that lasts as long as the lifetime of the ClassHolder. rdar://problem/31972680
9.3 KiB
9.3 KiB