-
-
Notifications
You must be signed in to change notification settings - Fork 111
parse use bounds (precise capture syntax) #252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
parse use bounds (precise capture syntax) #252
Conversation
489d164
to
db24a34
Compare
i realized that my first attempt didn't properly parse empty theoretically speaking this syntax also allows const generic parameters, but i couldn't find a way to disambiguate between these two, so i just left those to be parsed as type_parameter. |
one (hopefully) last quick comment: the reference calls this both |
I agree with you that |
db24a34
to
865f01c
Compare
changed the name to |
865f01c
to
00b6772
Compare
8d0d859
to
d571acb
Compare
rebased on master again and fixed one of the tests that i added here cause that used a type parameter |
currently tree-sitter-rust says that the
use
capture bound is ageneric_type
type_identifier
, but after this it is ause_bounds
use
.announced here, documented here and specified here and here.