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

Preserve back ticks in enum members #662

Merged
merged 4 commits into from
Feb 1, 2020
Merged

Conversation

nojaf
Copy link
Contributor

@nojaf nojaf commented Jan 31, 2020

Fixes #626 , I've modified the AstTransformer to consider Ident as children instead of properties.
That way we can more fine-grained add trivia to AST nodes.

The OptVar change was necessary to preserve the comment after .IsNone in

assert onStrongDiscard.IsNone; // it disappeared
.

@nojaf nojaf requested a review from jindraivanek January 31, 2020 13:20
@nojaf nojaf merged commit 3f797ed into fsprojects:master Feb 1, 2020
@nojaf nojaf deleted the fix-626 branch February 1, 2020 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Back ticks are removed from enum
2 participants