We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Issue created from fantomas-online
Sharplab link to formatted results
let (!!) (x: 'a): 'b = unbox x let signed: string = !! -2 let signedLong: string = !! -2L let signedFloat: string = !! -2. let unsigned: string = !! 2 let string: string = !! "hi" let boolean: string = !! true
let (!!) (x: 'a) : 'b = unbox x let signed: string = !!-2 // compilation error let signedLong: string = !!-2L // compilation error let signedFloat: string = !!-2. // compilation error let unsigned: string = !!2 let string: string = !! "hi" let boolean: string = !!true
For at least signed int32/int64/float literals this formatting is not valid and results in compilation errors, because !!- is parsed as an operator.
!!-
Fantomas 4.6 branch at 11/19/2021 20:14:05 - 720227d
Default Fantomas configuration
Did you know that you can ignore files when formatting from fantomas-tool or the FAKE targets by using a .fantomasignore file?
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Issue created from fantomas-online
Sharplab link to formatted results
Code
Result
Problem description
For at least signed int32/int64/float literals this formatting is not valid and results in compilation errors, because
!!-
is parsed as an operator.Extra information
Options
Fantomas 4.6 branch at 11/19/2021 20:14:05 - 720227d
Default Fantomas configuration
Did you know that you can ignore files when formatting from fantomas-tool or the FAKE targets by using a .fantomasignore file?
The text was updated successfully, but these errors were encountered: