[style-guide] space around SynType.StaticConstantExpr
- Dominant language
- F#
- Stars
- 557
- Forks
- 149
- Avg merge
- 4d 13h
- Merged PRs (30d)
- 2
Description
Considering the following code:
```fsharp
type T = Provider< @"...">
```
There needs to be a space before the `@` string in order for this to remain valid code.
Should there be a space after the literal in this case?
As mentioned by @auduchinok in https://github.com/fsprojects/fantomas/issues/2101, all other types of arguments do not need a space:
```fsharp
T
T
T<_>
T<"123">
T<1, Qwerty, @"123">
```
What guidance should there be regarding type arguments @dsyme? I don't the guide currently has any information on the subject.
Side note:
Fantomas currently adds the extra space when a leading space is required.
I personally don't have any preference or stake here, I only want a change in Fantomas because the style guide changed.
That is why I'm bringing this up.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.