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

PreserveEndOfLine introduces additional newlines. #360

Closed
nojaf opened this issue Nov 21, 2018 · 0 comments · Fixed by #361
Closed

PreserveEndOfLine introduces additional newlines. #360

nojaf opened this issue Nov 21, 2018 · 0 comments · Fixed by #361

Comments

@nojaf
Copy link
Contributor

nojaf commented Nov 21, 2018

Description

With PreserveEndOfLine true.

type QueryOption =
    | FixedQuery of string // xpath
    | KeywordSearch of string // keyword

type MessageTypeQueryMeta =
    { Options: QueryOption list }

Gets an additional newline between | FixedQuery of string // xpath and | KeywordSearch of string // keyword. This is because of the // comment at the end.

Repro code

online tool

nojaf added a commit to nojaf/fantomas that referenced this issue Nov 21, 2018
@nojaf nojaf mentioned this issue Nov 21, 2018
nojaf added a commit that referenced this issue Nov 21, 2018
* Fix for additional newline. #360

* Bumping version to 2.9.2
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 a pull request may close this issue.

1 participant