Replies: 1 comment 3 replies
-
It looks like that the behavior is tree-sitter-swift specific. Other languages, say JavaScript does not have the issue at all. Unfortunately, we don't have swift on the playground yet. And it is not easy to debug tree-sitter with CLI only. I'm planning to add the playground support recently. And then I can vet the issue here. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have this
sg
command:sg -p 'override func setUp() { super.setUp() }' -l swift
. I would expect this to only match:and not:
But it does actually match both. Is there special syntax to restrict the match somehow? Otherwise is this type of issue up to
sg
or the Swift specific tree-sitter parser?Beta Was this translation helpful? Give feedback.
All reactions