I have defined a class like this:
internal class C {
internal func method() -> Void {
print("method called")
}
}
If I declare a closure from that method, the method is shown strikethrough
let closure = C.init().meth
let closure2 = C.meth
The same happens if I use it in the autocasting paranthesis \(...)
print("\(C.init().meth)")
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With