Avatar
@swift-6.0.3 -swift-version 6 -strict-concurrency=complete class Foo { var value = 0 } actor Bar { func useFoo(foo: sending Foo) { Task { self foo.value += 1 } foo.value += 1 } } (edited)