Avatar
Avatar
kntk
@swift-6.0.3 @swift-main -swift-version 6 -strict-concurrency=complete final class Counter { var count = 0 } @MainActor func f() { let c = Counter() Task { c.count += 1 print(c.count) } Task.detached { c.count += 1 print(c.count) } }
swiftNightly BOT 9/18/2024 7:17 AM
no output