mirror of
https://github.com/koalaman/shellcheck
synced 2025-08-14 18:48:16 -07:00
SC2318: Warn about backreferencing in declare x=1 y=$x
(fixes #1653)
This commit is contained in:
parent
95b3cbf071
commit
9caeec104b
2 changed files with 54 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
|||
### Added
|
||||
- SC2316: Warn about 'local readonly foo' and similar (thanks, patrickxia!)
|
||||
- SC2317: Warn about unreachable commands
|
||||
- SC2318: Warn about backreferences in 'declare x=1 y=$x'
|
||||
|
||||
### Fixed
|
||||
- SC2086: Now uses DFA to make more accurate predictions about values
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue