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
System.Exception: Fantomas is trying to format the input multiple times due to the detect ofmultipledefines.
There is a problem with merging all the code back togheter. Please raise an issue at https://github.com/fsprojects/fantomas/issues.
at Microsoft.FSharp.Core.PrintfModule.PrintFormatToStringThenFail@1433.Invoke(String message)in D:\workspace\_work\1\s\src\fsharp\FSharp.Core\printf.fs:line 1433
at Fantomas.String.merge(String a, String b)in/home/runner/work/fantomas-tools/fantomas-tools/.deps/fantomas/src/Fantomas/Utils.fs:line 62
at Microsoft.FSharp.Collections.ListModule.Fold[T,TState](FSharpFunc`2 folder, TState state, FSharpList`1 list)in D:\workspace\_work\1\s\src\fsharp\FSharp.Core\list.fs:line 222
at Microsoft.FSharp.Collections.ListModule.Reduce[T](FSharpFunc`2 reduction, FSharpList`1 list)in D:\workspace\_work\1\s\src\fsharp\FSharp.Core\list.fs:line 234
at Fantomas.CodeFormatterImpl.format@401-1.Invoke(Tuple`3[]_arg1)in/home/runner/work/fantomas-tools/fantomas-tools/.deps/fantomas/src/Fantomas/CodeFormatterImpl.fs:line 410
at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvokeNoHijackCheck[a,b](AsyncActivation`1 ctxt, FSharpFunc`2 userCode, b result1)in D:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:line 404
at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction)in D:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:line 104
Problem description
Not sure what's up here.
Extra information
The formatted result breaks by code.
The formatted result gives compiler warnings.
I or my company would be willing to help fix this.
Issue created from fantomas-online
Code
Error
Problem description
Not sure what's up here.
Extra information
Options
Fantomas Master at 03/26/2021 17:43:48 - cdf6308
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?
The text was updated successfully, but these errors were encountered: