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

Incorrect handling of attributes in static method #452

Closed
Smaug123 opened this issue Jul 22, 2019 · 1 comment
Closed

Incorrect handling of attributes in static method #452

Smaug123 opened this issue Jul 22, 2019 · 1 comment

Comments

@Smaug123
Copy link
Contributor

Issue created from fantomas-ui

Fantomas removes the space between "ReflectedDefinition" and "true", resulting in code that does not compile.

(I discovered this in the course of G-Research's testing of the preview version of Fantomas.)

Code

type A () =
    static member Foo ([<ReflectedDefinition true>] a) =
        ()

Result

type A() =
    static member Foo([<ReflectedDefinitiontrue>] a) = ()

Options

Fantomas Next - 3.0.0-7/20/2019

Name Value
IndentSpaceNum 4
PageWidth 80
PreserveEndOfLine false
SemicolonAtEndOfLine false
SpaceBeforeArgument true
SpaceBeforeColon true
SpaceAfterComma true
SpaceAfterSemicolon true
IndentOnTryWith false
ReorderOpenDeclaration false
SpaceAroundDelimiter true
StrictMode true
@jindraivanek
Copy link
Contributor

Fixed by #455

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

No branches or pull requests

2 participants