Open inforeqd512 opened 5 years ago
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by adding a comment.
🚨New Issue Checklist🚨
swift-ast -github-issue /path/to/file.swift
might help me generate this fileIssue Summary
the ast output of a protocol method name comes out as same as protocol name
Environment
Reproduction Steps
Sample code
``` protocol TableUpdatable { func reloadTable() func errorLoadingData() } ``` Command to run `swift-ast` with the code above: `swift-ast sample.swift`Expected Result
proto_decl name: TableUpdatable 0: kind:
method
name: reloadTable 1: kind:method
name: errorLoadingDataActual Behavior
proto_decl name: TableUpdatable 0: kind:
method
name: TableUpdatable 1: kind:method
name: TableUpdatable