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

Fix parsing of use_file #2146

Merged

Conversation

anmonteiro
Copy link
Member

@anmonteiro anmonteiro commented Aug 15, 2018

Because the use_file parser definition is recursive, we were applying
the operator swapping mappers more than once in the cases where the rule
recursed.

Instead, we should only apply the mapper to the final result of parsing
the use_file rule.

Fixes #1965
Fixes #1980
Fixes #1970

Because the `use_file` parser definition is recursive, we were applying
the operator swapping mappers more than once in the cases where the rule
recursed.

Instead, we should only apply the mapper to the final result of parsing
the `use_file` rule.

Fixes reasonml#1965
Fixes reasonml#1980
@jordwalke
Copy link
Member

Thank you as always!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants