Open TheAngryByrd opened 9 months ago
Hi Jimmy,
That main
function leads to 5 define combinations:
I believe the FABLE_COMPILER
case, is leading to invalid code and cannot be parsed.
Try
[<EntryPoint>]
let main argv =
#if FABLE_COMPILER_PYTHON
Pyxpecto.runTests allTests
#endif
#if FABLE_COMPILER_JAVASCRIPT
Mocha.runTests allTests
#else
Tests.runTestsWithCLIArgs [] Array.empty allTests
#endif
as a workaround.
Issue created from fantomas-online
Code
Error
Further Examples:
Problem description
Please describe here the Fantomas problem you encountered. Check out our Contribution Guidelines.
Extra information
Options
Fantomas main branch at 2023-12-06T16:47:58Z - 0f8ee237a452f3772afe7989e031b5f65ba389f5
Default Fantomas configuration
Did you know that you can ignore files when formatting by using a .fantomasignore file? PS: It's unlikely that someone else will solve your specific issue, as it's something that you have a personal stake in.