fsprojects / fantomas

FSharp source code formatter
https://fsprojects.github.io/fantomas
Other
770 stars 191 forks source link

Unary operator spacing inconsistent between veriable and literal #2882

Open cmeeren opened 1 year ago

cmeeren commented 1 year ago

Issue created from fantomas-online

Code

let a = !!foo
let b = !!"foo"

Result

let a = !!foo
let b = !! "foo"

Problem description

I would expect let b = !!"foo", but I get an extra space.

Extra information

Options

Fantomas v6.1 branch at 1/1/1990

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?