mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +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.
2.5 KiB
2.5 KiB