func xxx() {
// ...
// self offset at xxx
// ^
}
var xxx: XXX {
// ...
// self offset at xxx
// ^
}
// closure
{ [weak self] a, b in
// self offset at [weak self]
// ^
}
xxx()
function call or call closurexxx.yyy()
function call or call closureXXX()
Initial
func xxx() {
abc.xxx()
// ^
abc.xxx
// ^
}
XCTAssertEqual(code.kind, .refVarGlobal)
XCTAssertEqual(code.kind, .refVarStatic)
xxx(obj.f)
skip type
typeusr $sSaySSGD
, Swift.Array<Swift.String>
typeusr $sSo17OS_dispatch_groupCD
, __C.OS_dispatch_group
typeusr $sSo6CBUUIDCD
, __C.CBUUID
特殊 typealias
let cell: DeviceCell = tableView.dequeue(cell: Cell.self, for: indexPath)
skip
closure
# 盲點
- default skip function 應該沒事?
- skip nonescaping closure
nonescaping closure
會被 skip 實際上應該往上傳遞給nonescaping closure
的parent closure
檢查 應該要?