[swift-dev] Question about SourceKit structure output

Eugene Gubin hemet.mail at gmail.com
Sun Jul 31 13:55:11 CDT 2016


Hello,

My goal is to find out all redundant references to `self`. To achieve this
I need to know if a self reference is captured by closure or it is not.
Unfortunately, structural output lacks of any information about a closure
declared in a method. Any advices are welcome.

Example: https://gist.github.com/HeMet/1ffd06b58e184071720e85514f46917d
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20160731/93357702/attachment.html>


More information about the swift-dev mailing list