mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-07 05:21:34 -07:00
Improve message for SC1067
This commit is contained in:
parent
4d56852b9f
commit
ba2c20a08a
1 changed files with 1 additions and 1 deletions
|
@ -2765,7 +2765,7 @@ readAssignmentWordExt lenient = try $ do
|
|||
variable <- readVariableName
|
||||
when lenient $
|
||||
optional (readNormalDollar >> parseNoteAt pos ErrorC
|
||||
1067 "For indirection, use (associative) arrays or 'read \"var$n\" <<< \"value\"'")
|
||||
1067 "For indirection, use arrays, declare \"var$n=value\", or (for sh) read/eval.")
|
||||
indices <- many readArrayIndex
|
||||
hasLeftSpace <- fmap (not . null) spacing
|
||||
pos <- getPosition
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue