Skip to content
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

Many fixes #117

Closed
wants to merge 10 commits into from
Closed

Many fixes #117

wants to merge 10 commits into from

Conversation

amaanq
Copy link
Member

@amaanq amaanq commented May 22, 2023

Checklist:

  • All tests pass in CI.
  • There are sufficient tests for the new fix/feature.
  • Grammar rules have not been renamed unless absolutely necessary.
  • The conflicts section hasn't grown too much.
  • The parser size hasn't grown too much (check the value of STATE_COUNT in src/parser.c).

Closes #46
Closes #62
Closes #94
Closes #95
Closes #104
Closes #106
Closes #107

amaanq added 10 commits May 21, 2023 23:32
special characters such as Chinese letters weren't parsing properly before
… priority

The lower priority allows for multiple return types to be parsed as two
types rather than a second map return type being split into an
identifier `map` followed by an array type
…_simple_type

The _simple_type covers both constraint_term and interface_type_name, no point having both when we can just alias _simple_type to constraint_elem
@aryx
Copy link
Contributor

aryx commented May 22, 2023

@amaanq would it be possible to have one separate PR for each of those fixes? I know it's tedious, but then it's easier to revert one individually if 2 months from now someone find a regression. It's also far easier to review.

@amaanq
Copy link
Member Author

amaanq commented May 22, 2023

A few of the linked issues are the same problem, I'll split it into two, one for bug fixes/precedence issues and one for the added types/fixed struct elements

@aryx
Copy link
Contributor

aryx commented May 23, 2023

thx

@aryx aryx closed this May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment