compgen -V array not considered assigned
#### For new checks and feature suggestions
- [X] https://www.shellcheck.net/ (i.e. the latest commit) currently gives no useful warnings about this
- [X] I searched through https://github.com/koalaman/shellcheck/issues and didn't find anything related
#### Here's a snippet or screenshot that shows a potential problem:
```sh
#!/bin/bash
compgen -V array not considered assigned
```
#### Here's what shellcheck currently says:
SC1254: array is referenced but not assigned
#### Here's what I wanted to see:
No warning, `array` was assigned.
0 条评论