You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a minimal reproduction of an issue with string handling code in a more complex code base. Fantomas forced .PadLeft(9) onto a new line, then when re-run got the positioning off which leads to compilation failures.
Most of our code works really well with Fantomas, thanks!
Variations also lead to exceptions when run via FAKE:
Script reported an error:
-> BuildFailedException: Target 'FormatCode' failed.
-> One or more errors occurred. (Exception of type 'Fantomas.FakeHelpers+CodeFormatException' was thrown.)
-> CodeFormatException: Exception of type 'Fantomas.FakeHelpers+CodeFormatException' was thrown.
The text was updated successfully, but these errors were encountered:
Issue created from fantomas-ui
This is a minimal reproduction of an issue with string handling code in a more complex code base. Fantomas forced .PadLeft(9) onto a new line, then when re-run got the positioning off which leads to compilation failures.
Code
Error
Options
Fantomas 2.9.1
IndentSpaceNum
4
PageWidth
80
PreserveEndOfLine
false
SemicolonAtEndOfLine
false
SpaceBeforeArgument
true
SpaceBeforeColon
true
SpaceAfterComma
true
SpaceAfterSemicolon
true
IndentOnTryWith
false
ReorderOpenDeclaration
false
SpaceAroundDelimiter
true
StrictMode
false
Most of our code works really well with Fantomas, thanks!
Variations also lead to exceptions when run via FAKE:
The text was updated successfully, but these errors were encountered: