You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've expected to see a here or at least expr.call for flatMap. However it might be that structure is just structure: but then I do not realize how to distinct between function parameters and foo parameter in closure (needed for realm/SwiftLint#415)
Non related:
I wanted to debug it myself, but
xcrun sourcekitd-test
xcrun: error: unable to find utility "sourcekitd-test", not a developer tool or in PATH
Any advice on that?
The text was updated successfully, but these errors were encountered:
SourceKitten's Structure builder is really just a thin wrapper around SourceKit's editor.open request. See Structure.swift and Request.EditorOpen which then is sent and the response from SourceKit is mapped to a Dictionary<String, SourceKitRepresentable>, then finally converted to JSON and printed.
So in other words, to expand the contents of Structure, you'd need to do that in SourceKit itself.
consider snippet:
SourceKitten Produces:
I've expected to see
a
here or at leastexpr.call
forflatMap
. However it might be that structure is just structure: but then I do not realize how to distinct between function parameters andfoo
parameter in closure (needed for realm/SwiftLint#415)Non related:
I wanted to debug it myself, but
Any advice on that?
The text was updated successfully, but these errors were encountered: