Meaningful spaces can be collapsed in record-with expressions #353
Closed
Description
With fantomas 2.9.0 command parameters --indent 2 --pageWidth 90
before:
{ to'.WithCommon(fun c ->
{ c with WorkingDirectory =
Path.getFullName"./RegressionTesting/issue20/xunit-tests"
Verbosity = Some DotNet.Verbosity.Minimal }).WithParameters p0 c0 with Configuration =
DotNet.BuildConfiguration.Debug
NoBuild =
false
after
{ to'.WithCommon(fun c ->
{ c with WorkingDirectory =
Path.getFullName"./RegressionTesting/issue20/xunit-tests"
Verbosity = SomeDotNet.Verbosity.Minimal }).WithParameters p0 c0 with Configuration =
DotNet.BuildConfiguration.Debug
NoBuild =
false
which gives
Error FS0039: The value, namespace, type or module 'SomeDotNet' is not defined. Maybe you want one of the following: