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
When some a line of code has an operation on it, and the line is then piped into another function on the next line, fantomas will combine the two lines.
This will break the code if the precedence of operation on the first line is lower than that of the pipe function
This is an issue on all versions.
Repro code
Before, there is a (unit -> unit) option function.
After, there is a unit -> (unit option) function.
Description
When some a line of code has an operation on it, and the line is then piped into another function on the next line, fantomas will combine the two lines.
This will break the code if the precedence of operation on the first line is lower than that of the pipe function
This is an issue on all versions.
Repro code
Before, there is a
(unit -> unit) option
function.After, there is a
unit -> (unit option)
function.simple example
The text was updated successfully, but these errors were encountered: