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
Seq.takeWhile
(function| Write ""// for example:// type Foo =// static member Bar () = ...| IndentBy _| WriteLine
| SetAtColumn _| Write " -> "| CommentOrDefineEvent _->true|_->false)
Result
Seq.takeWhile (function| Write ""// for example:// type Foo =// static member Bar () = ...| IndentBy _// for example:// type Foo =// static member Bar () = ...| WriteLine
// for example:// type Foo =// static member Bar () = ...| SetAtColumn _// for example:// type Foo =// static member Bar () = ...| Write " -> "// for example:// type Foo =// static member Bar () = ...| CommentOrDefineEvent _->true|_->false)
Problem description
Similar to #1082, the scope of the bar token should be limited to a single clause.
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
Similar to #1082, the scope of the bar token should be limited to a single clause.
Extra information
Options
Fantomas Master at 09/03/2020 19:59:28 - 573b009
Default Fantomas configuration
The text was updated successfully, but these errors were encountered: