-
-
Notifications
You must be signed in to change notification settings - Fork 203
Open
Description
Issue created from fantomas-online
Code
namespace Repro
module SomeModule =
let Repro () =
let stuff =
[
("s1",
Some "
s2");
("s3",
Some "s4");
]
0
Result
namespace Repro
module SomeModule =
let Repro () =
let stuff =
[ ("s1",
Some
"
s2") (
"s3",
Some "s4"
) ]
0
Problem description
Please describe here the Fantomas problem you encountered.
Check out our Contribution Guidelines.
Extra information
- The formatted result breaks my code.
- The formatted result gives compiler warnings.
- I or my company would be willing to help fix this. - somewhat, maybe :)
Discovered this when applying Fantomas to some code in F# compiler: dotnet/fsharp#14782
In particular, see QuickInfoProviderTests.
This repro is a very minified version of the code above.
Options
Fantomas v5.2 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?