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
${var=word} assignment is lost in case-subject / for-word-list expansion #3045
area:expansionword splitting, quote removal, parameter/brace expansionbugSomething isn't workinggnu-baselineTracked by the GNU Bash 5.3.0 true-baseline ledger
area:expansionword splitting, quote removal, parameter/brace expansionbugSomething isn't workinggnu-baselineTracked by the GNU Bash 5.3.0 true-baseline ledger
Activity
Bind ${var=word} in case-subject and for-list expansion (#3077)
caomengxuan666 commentedon Nov 8, 2026
已由 PR #3077 修复并合入 master(squash merge
a5168736,合入头65fbfb3e)。队长复核(
~/workspace/review-3045/verify.log,全腿 PASS)a7d3176f+ 仅钉文件)5p/19f,失败名集恰为 19 个绑定格。test result行。RUSTFLAGS="-D warnings"rc=0;fmt/hygiene/CR/diff-check 净。${a[@]:-${v=x}}嵌套算子形)。修法:case 主词与 for/select 词表两处入口每词跑一次
${var=word}绑定 apply pass;expand_word整词臂以braced_parameter_spans_whole_word设门;scan_word_prefix_quote_state追踪 procsub 帧,父级不再绑定 procsub 体内赋值。残余:P12(DQ 反斜杠 case 主词丢反斜杠)已立 #3084,归宿门 #2968;P14(tilde+param case 主词)队长探针与 GNU 逐字节 SAME,不立案。