Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
add support for typed function parameters #140
Please let me know what you think.
This should allow for typed parameters like
This does not add support for typed variables or function return types, but I hope to add support for the later in the near future assuming this is accepted.
Just to inform you that I've started looking at your PR, but it takes me /hours/ to correctly review most of the new grammar additions to baron (it's super sensible and I had quite some bad surprise) and this one is pretty complex.
If you haven't looked at it, this might helps you https://baron.readthedocs.io/en/latest/grammar.html#typed-arguments
Anyway, thanks a lot for this PR :)
Finally merged (by hand so github don't detect that), thx again for your contribution :)
I end up adding more tests and finished all the cases (