-
-
Notifications
You must be signed in to change notification settings - Fork 345
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
syntax: regression in parsing of "declare" #129
Comments
Thanks! Will look into it. |
@cyphar just to confirm, you only use |
We're not using the latter, but you should be aware that is a valid bash-ism. |
I ran the same tests - that's why I'm asking. I think I'll just allow this assuming that |
Thanks for the incredibly fast turnaround @mvdan. 😸 |
We just hit this in runc in the past few days. If you run
shfmt
on something like this:You get this error even though it is entirely valid
bash
.The text was updated successfully, but these errors were encountered: