mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Before this change it was possible to: 1. Call mutating methods on a consume result. 2. assign into a consume (e.x.: var x = ...; (consume x) = value. From an implementation perspective, this involved just taking the logic I already used for the CopyExpr and reusing it for ConsumeExpr with some small tweaks. rdar://109479440
8.1 KiB
8.1 KiB