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
type internal CompilerStateCache(readAllBytes: string -> byte[], projectOptions: FSharpProjectOptions) #if !NO_TYPEPROVIDERS as this = #else = #endif class end
type internal CompilerStateCache(readAllBytes: string -> byte[], projectOptions: FSharpProjectOptions) as #if !NO_TYPEPROVIDERS this = #else = #endif class end
We probably need the as keyword as trivia to solve this one.
as
Fantomas main branch at 2023-01-19T07:22:18Z - 959e49b
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:
Hi. I have found a case in the dotnet/fsharp repo where the same issue still exhibits. This PR did nothing else but applying Fantomas.
https://github.com/dotnet/fsharp/pull/14961/files#diff-d7b05bb46c11b5ef9a294b9a5a78d157dc3939b9c3e1c885320964eefdfed66cR1109
Sorry, something went wrong.
Before, the "as this" was only inside the conditional directive. It was moved to be outside of it. Code before:
#if !NO_TYPEPROVIDERS as this #endif
Well, yes that is to be expected. You are most likely on a version that predates this fix.
Successfully merging a pull request may close this issue.
Issue created from fantomas-online
Code
Result
Problem description
We probably need the
as
keyword as trivia to solve this one.Extra information
Options
Fantomas main branch at 2023-01-19T07:22:18Z - 959e49b
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: