Avatar
@swift-5.4.3 func foo(completion: @escaping () -> Void) {} final class C { var a: Int = 0 func bar() { foo { [weak self] in guard let self = self else { return } foo { [self] in a += 1 } } } }