mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Extend handling of enclosing-self subscripts by differentiating between the original wrapped property (which now goes through `subscript(_enclosingInstance:wrapped:storage:)`) and the projected property (which goes through `subscript(_enclosingInstance:projected:storage:)`). The new middle argument provides a key path to the property that was accessed, allowing one to distinguish the property being updated.
107 KiB
107 KiB