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
{new TaskDefinition withmemberthis.Itemwith get (name:string):obj option = data.TryGet name
andset(name:string)(v:obj option):unit =match v with| None -> data.Remove(name)|> ignore
| Some v -> data.[name]<- v
overridethis.``type``:string ="fakerun"}
Reformatted code
{new TaskDefinition withmemberthis.Itemwith get (name:string):obj option = data.TryGet name
andset(name:string)(v:obj option):unit =match v with| None -> data.Remove(name)|> ignore
| Some v -> data.[name]<- v
overridethis.``type``:string ="fakerun"}
Problem description
Fantomas was not able to produce the same code after reformatting the result.
Note
If there is no spaces between these two lines:
with get (name:string):obj option = data.TryGet name
andset(name:string)(v:obj option):unit =
then the format is not generating a new line on each pass.
Extra information
The formatted result breaks my code.
The formatted result gives compiler warnings.
I or my company would be willing to help fix this.
Options
Fantomas master branch at 2022-07-18T06:16:36Z - 452064c
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:
Issue created from fantomas-online
Formatted code
Reformatted code
Problem description
Fantomas was not able to produce the same code after reformatting the result.
Note
If there is no spaces between these two lines:
then the format is not generating a new line on each pass.
Extra information
Options
Fantomas master branch at 2022-07-18T06:16:36Z - 452064c
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: