We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue created from fantomas-online
let a = (fun _ -> function | A -> () #if DEBUG f() #endif | B -> () )
Fantomas.FormatConfig+FormatException: Parsing failed with errors: [|tmp.fsx (6,9)-(6,10) parse error Unexpected identifier in lambda expression. Expected incomplete structured construct at or before this point or other token.|] And options: { SourceFiles = [|"tmp.fsx"|] ConditionalCompilationDefines = ["DEBUG"] ErrorSeverityOptions = { WarnLevel = 3 GlobalWarnAsError = false WarnOff = [] WarnOn = [] WarnAsError = [] WarnAsWarn = [] } IsInteractive = false LightSyntax = None CompilingFsLib = false IsExe = false } at Fantomas.CodeFormatterImpl.parse@76-2.Invoke(FSharpParseFileResults _arg2) in /home/runner/work/fantomas-tools/fantomas-tools/.deps/fantomas/src/Fantomas/CodeFormatterImpl.fs:line 82 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 <StartupCode$FSharp-Compiler-Service>.$Service.ParseFile@457-3.Invoke(AsyncActivation`1 ctxt) in D:\workspace\_work\1\s\src\fsharp\service\service.fs:line 457 at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:line 104
Please describe here the Fantomas problem you encountered. Check out our Contribution Guidelines.
Fantomas Master at 02/26/2021 10:32:56 - 6464684
{ config with IndentSize = 2 }
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:
Thank you for reporting!
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Issue created from fantomas-online
Code
Error
Problem description
Please describe here the Fantomas problem you encountered.
Check out our Contribution Guidelines.
Extra information
Options
Fantomas Master at 02/26/2021 10:32:56 - 6464684
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: