swift-testing icon indicating copy to clipboard operation
swift-testing copied to clipboard

Change `_read` to `yielding borrow`

Open grynspan opened this issue 8 months ago • 2 comments

Change our uses of the experimental _read to yielding borrow. The latter is ABI-compatible with the former per SE-0474

grynspan avatar Jun 30 '25 14:06 grynspan

Not planning to do this for 6.2 as it's harmless as-is, we want to support 6.1 toolchains until 6.2 is released, and the compiler implementation hasn't fully settled yet. Will aim for the next release (presumably 6.3).

grynspan avatar Jun 30 '25 14:06 grynspan

Tracked by rdar://154670924

stmontgomery avatar Jun 30 '25 21:06 stmontgomery