You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was a kludge from back before ShellCheck supported associative arrays. At the time, declare -A x=([y]=z) would treat y as a reference just like , causing a lot of false positives, so the check simply ignored references in arrays.
Parsing of associative arrays has since been fixed, so it was just a matter of removing this kludge. Thanks!
For bugs
shellcheck --version
or "online"): 0.10.0For new checks and feature suggestions
Here's a snippet or screenshot that shows the problem:
Here's what shellcheck currently says:
Here's what I wanted or expected to see:
I have not contributed code to shellcheck by now but would be willing to write my first PR if I get some pointers :)
The text was updated successfully, but these errors were encountered: