SC2318: Warn about backreferencing in declare x=1 y=$x (fixes #1653)

This commit is contained in:
Vidar Holen
2022-07-22 11:25:07 -07:00
parent 95b3cbf071
commit 9caeec104b
2 changed files with 54 additions and 0 deletions

View File

@@ -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