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
if hasClassAttr &¬(match k with SynTypeDefnKind.Class ->true|_->false)||
hasMeasureAttr &¬(match k with SynTypeDefnKind.Class | SynTypeDefnKind.Abbrev | SynTypeDefnKind.Opaque ->true|_->false)||
hasInterfaceAttr &¬(match k with SynTypeDefnKind.Interface ->true|_->false)||
hasStructAttr &¬(match k with SynTypeDefnKind.Struct | SynTypeDefnKind.Record | SynTypeDefnKind.Union ->true|_->false)then
error(Error(FSComp.SR.tcKindOfTypeSpecifiedDoesNotMatchDefinition(), m))
k
Result
if hasClassAttr
&¬(match k with| SynTypeDefnKind.Class ->true|_->false)|| hasMeasureAttr
&¬(match k with| SynTypeDefnKind.Class
| SynTypeDefnKind.Abbrev
| SynTypeDefnKind.Opaque ->true|_->false)|| hasInterfaceAttr
&¬(match k with| SynTypeDefnKind.Interface ->true|_->false)|| hasStructAttr
&¬(match k with| SynTypeDefnKind.Struct
| SynTypeDefnKind.Record
| SynTypeDefnKind.Union ->true|_->false)then
error (Error(FSComp.SR.tcKindOfTypeSpecifiedDoesNotMatchDefinition (), m))
k
Problem description
The not ( ) should be formatted differently to avoid the warnings.
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
Result
Problem description
The
not ( )
should be formatted differently to avoid the warnings.Extra information
Options
Fantomas Master at 06/09/2021 15:42:35 - a79ebea
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: