Versions
- Elixir: 1.15.5-otp-26
- Styler: 0.9.1
Example Input
start..23//step
|> Stream.drop_while(fn x -> x < hour end)
Current Behaviour
Output:
start
|> ..//(23, step)
|> Stream.drop_while(fn x -> x < hour end)
Styler
- moves the end of the range into the step
- moves the call to
.. into a pipe, which is invalid syntax with
unexpected token: "." (column 10, code point U+002E)
|
22 | |> ..//(23, step)