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

[Trivia] Line comment after then breaks code #451

Closed
jindraivanek opened this issue Jul 22, 2019 · 0 comments
Closed

[Trivia] Line comment after then breaks code #451

jindraivanek opened this issue Jul 22, 2019 · 0 comments

Comments

@jindraivanek
Copy link
Contributor

Issue created from fantomas-ui

Line comment after then breaks code. Regression from stable/master.

Code

if true then //comment
    1
else 0

Error

if true //comment then 1
else 0

Options

Fantomas Next - 3.0.0-7/20/2019

Name Value
IndentSpaceNum 4
PageWidth 120
PreserveEndOfLine false
SemicolonAtEndOfLine false
SpaceBeforeArgument true
SpaceBeforeColon false
SpaceAfterComma true
SpaceAfterSemicolon true
IndentOnTryWith false
ReorderOpenDeclaration false
SpaceAroundDelimiter true
StrictMode false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant