mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
The `$generator` variable we create for the async for..in loop is
`nonisolated(unsafe)`, so ensure that we generate an `unsafe`
expression when we use it. This uncovered some inconsistencies in how
we do `unsafe` checking for for..in loops, so fix those.
Fixes rdar://154775389.
(cherry picked from commit 35628cb503)
2.5 KiB
2.5 KiB