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

Hash symbol in signatures requires parens to remain #564

Closed
Smaug123 opened this issue Nov 18, 2019 · 0 comments · Fixed by #618
Closed

Hash symbol in signatures requires parens to remain #564

Smaug123 opened this issue Nov 18, 2019 · 0 comments · Fixed by #618

Comments

@Smaug123
Copy link
Contributor

Issue created from fantomas-ui

The removal of parens here changes the semantics, and causes some of our code to stop compiling.

Code

module Bar =
  let foo (_ : #(int seq)) = 1

Result

module Bar =
    let foo(_: #int seq) = 1

Options

Fantomas Next - 3.0.1-11/13/2019

Name Value
IndentOnTryWith false
IndentSpaceNum 4
KeepNewlineAfter false
PageWidth 120
ReorderOpenDeclaration false
SemicolonAtEndOfLine false
SpaceAfterComma false
SpaceAfterSemicolon false
SpaceAroundDelimiter false
SpaceBeforeArgument false
SpaceBeforeColon false
StrictMode false
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