Add become keyword and expressions#298
Conversation
|
Thanks for working on this, but this doesn't seem sufficient to me. I would expect changes to the |
|
That's an embarrassing mistake to have edited the auto-generated file instead of the actual source file. I fixed that and added some tests taken from the rust doc page on |
|
Thanks a lot! It's not embarrassing at all, auto-generated files shouldn't be checked into Git in the first place, so it's not your fault… By the way I'm not a maintainer here but I'll happily integrate your changes into the tree-sitter-rust-orchard fork. |
|
I don't think those test cases are valid rust syntax, since while Feel free to merge this into your fork! |
|
My bad, you are clearly right! |
Adds support for the upcoming
becomeexpressions for guaranteed tail recursion.