Avatar
@swift-6.2.3 @swift-6.1.3@swift-6.0.3 func f(_: @escaping @Sendable () -> ()) {} func main() { nonisolated(unsafe) var foo = false f { print(foo) } foo.toggle() } (edited)