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

Comments right after a pipe get moved inside the next statement list #146

Closed
mvdan opened this issue Aug 5, 2017 · 0 comments
Closed

Comments right after a pipe get moved inside the next statement list #146

mvdan opened this issue Aug 5, 2017 · 0 comments
Milestone

Comments

@mvdan
Copy link
Owner

mvdan commented Aug 5, 2017

$ shfmt <<'EOF'
foo | # cmt
(
   bar
)
EOF

foo |
        (# cmt

                bar
        )

Spotted by @uli42 in #144 (comment).

@mvdan mvdan added this to the 2.0 milestone Aug 5, 2017
@mvdan mvdan closed this as completed in 5490755 Aug 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant