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
moduleUtils/// ML-style alias of Maptype('key,'value)mapwhen 'key :comparison= Map<'key, 'value>
Result
moduleUtils/// ML-style alias of Maptype('key,'valuewhen 'key:comparison)map= Map<'key, 'value>
Problem description
Using ML-style generic type definitions is an uncommon but supported syntax choice.
To use multiple type parameters, they're wrapped in parentheses like a tuple. Fantomas puts any generic type constraints inside those parentheses, instead of outside as correct.
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
Using ML-style generic type definitions is an uncommon but supported syntax choice.
To use multiple type parameters, they're wrapped in parentheses like a tuple. Fantomas puts any generic type constraints inside those parentheses, instead of outside as correct.
Extra information
Options
Fantomas Master at 08/11/2021 17:06:14 - 383b729
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: