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

Line comment disappears after format #598

Closed
nojaf opened this issue Dec 12, 2019 · 0 comments · Fixed by #670
Closed

Line comment disappears after format #598

nojaf opened this issue Dec 12, 2019 · 0 comments · Fixed by #670

Comments

@nojaf
Copy link
Contributor

nojaf commented Dec 12, 2019

Issue created from fantomas-ui

Please describe here fantomas problem you encountered

Code

namespace Krach

module Runner =

    let mPerSecond = 1000<m/second> // foo

    [<Measure>]
    type ProcessId =
        class
        end

Result

namespace Krach

module Runner =

    let mPerSecond = 1000<m/second>

    [<Measure>]
    type ProcessId =
        class
        end

Options

Fantomas Next - 3.1.1-12/11/2019

Name Value
IndentOnTryWith false
IndentSpaceNum 4
KeepNewlineAfter false
MaxIfThenElseShortWidth 40
PageWidth 120
ReorderOpenDeclaration false
SemicolonAtEndOfLine false
SpaceAfterComma true
SpaceAfterSemicolon true
SpaceAroundDelimiter true
SpaceBeforeArgument true
SpaceBeforeColon false
StrictMode false

The // foo is gone

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