Skip to content

bug: multiple pipes moved to one-line after optimization #180

@novaugust

Description

@novaugust

Versions

  • Styler: 1.0-rc2

Example Input

# this
comment_entries_str =	      
  a	                
  |> Enum.with_index()	
  |> Enum.map(&b(c, &1))	
  |> Enum.join()	
# became
comment_entries_str =
  a |> Enum.with_index() |> Enum.map_join(&b(c, &1))

Stacktrace / Current Behaviour

each should remain on their own line

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions