mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Turns out if you write `_ = consume s` you get different enough SIL than `_ = s` that it fools the ad-hoc test for whether we've mark-must-check'd a closure capture, since the former will have a begin_access. There doesn't appear to be a simple way to reuse the existing information or checking routine for this that was used by the checker itself to flag this.
34 KiB
34 KiB