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
{{ message }}
Repository navigation
[bug] Assoc subscript of unset var drops bad-array-subscript diagnostic #1148
P3-low低:优化、文档、远期规划,有机会再做area:expansionword splitting, quote removal, parameter/brace expansionbugSomething isn't workinggnu-baselineTracked by the GNU Bash 5.3.0 true-baseline ledger
Triage vs current master (e743db8, release build): no longer reproduces. rubash now emits the bad array subscript diagnostic, matching WSL GNU bash 5.3.20.
$ declare -A m; m=([k]=v); echo ${m[$u]}; echo rc=$?
GNU 5.3.20: <blank> / rc=0 / stderr: m: bad array subscript
rubash: <blank> / rc=0 / stderr: m: bad array subscript
P3-low低:优化、文档、远期规划,有机会再做area:expansionword splitting, quote removal, parameter/brace expansionbugSomething isn't workinggnu-baselineTracked by the GNU Bash 5.3.0 true-baseline ledger
Activity
caomengxuan666 commentedon Oct 23, 2026
Triage vs current master (e743db8, release build): no longer reproduces. rubash now emits the
bad array subscriptdiagnostic, matching WSL GNU bash 5.3.20.Fixed by #1181. Closing.