Files
swift-mirror/test/Unsafe/unsafe_concurrency.swift
Doug Gregor d6deeccc81 [Strict memory safety] Fix "unsafe" checking for the for..in loop
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)
2025-07-10 09:12:07 -07:00

2.5 KiB