I defined a class like this:
internal class C {
internal func method() -> Void {
print("method called")
}
}
If I declare the closure of this method, the method appears crossed out
let closure = C.init().meth
let closure2 = C.meth
The same thing happens if I use it in paranthesis autocasting \(...)
print("\(C.init().meth)")
Xcode examples:

source
share