fsprojects / fantomas

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

Semi-colons may or may not be insterted in list literals #312

Closed SteveGilham closed 5 years ago

SteveGilham commented 6 years ago

Using fantomas . --recurse --indent 2 --pageWidth 90

Before

       [ "_Binaries/AltCover/Debug+AnyCPU/AltCover.exe"
         "_Binaries/AltCover.Shadow/Debug+AnyCPU/AltCover.Shadow.dll" ])
...
                            [ Path.getFullName
                                "_Binaries/AltCover.Tests/Debug+AnyCPU/__UnitTestWithAltCoverRunner/AltCover.Tests.dll"
                              Path.getFullName
                                "_Binaries/AltCover.Tests/Debug+AnyCPU/__UnitTestWithAltCoverRunner/Sample2.dll" ])

After

       [ "_Binaries/AltCover/Debug+AnyCPU/AltCover.exe";
         "_Binaries/AltCover.Shadow/Debug+AnyCPU/AltCover.Shadow.dll" ])
...
                            [ Path.getFullName
                                "_Binaries/AltCover.Tests/Debug+AnyCPU/__UnitTestWithAltCoverRunner/AltCover.Tests.dll"

                              Path.getFullName
                                "_Binaries/AltCover.Tests/Debug+AnyCPU/__UnitTestWithAltCoverRunner/Sample2.dll" ])
jindraivanek commented 5 years ago

repro

nojaf commented 5 years ago

Fixed in 2a4dde1a740ece71a928f8584fd65cabb2d5198b