Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pipeify functions whose first argument is a pipe #133

Open
novaugust opened this issue Mar 7, 2024 · 0 comments
Open

pipeify functions whose first argument is a pipe #133

novaugust opened this issue Mar 7, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@novaugust
Copy link
Contributor

Versions

  • Elixir: use elixir --version
  • Styler: use mix deps | grep locked | grep styler

Example Input

# should get piped but doesn't, because the root node is not a pipe
a(b |> c |> d)

# correctly gets piped since the root node is a pipe
a(b(c)) |> d()

Stacktrace / Current Behaviour

@novaugust novaugust added enhancement New feature or request bug Something isn't working and removed enhancement New feature or request labels Mar 16, 2024
@novaugust novaugust added enhancement New feature or request and removed bug Something isn't working labels Apr 22, 2024
@novaugust novaugust changed the title styler doesn't pipe-ify pipes wrapped in a function call pipeify functions whose first argument is a pipe Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant