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
area:builtinsbuiltin semantics (printf/declare/command/type/...)bugSomething isn't workinggnu-baselineTracked by the GNU Bash 5.3.0 true-baseline ledger
area:builtinsbuiltin semantics (printf/declare/command/type/...)bugSomething isn't workinggnu-baselineTracked by the GNU Bash 5.3.0 true-baseline ledger
Activity
fix(executor): stop parent nounset scans from judging procsub bodies (#…
fix(executor): mask recorded procsub spans at the [[ ]] nounset scans (…
Merge pull request #1929 from unixwin/fix/1915-procsub-setu
caomengxuan666 commentedon Oct 28, 2026
已修复并合并:PR #1929(merge a5b4f67)。
根因:父侧 nounset 预扫描对 procsub 跨度无豁免,主体内单引号 $1 被当父壳活引用误判。修法:扫描前按解析器已记录的跨度掩码(简单命令+重定向门),[[ ]] 操作数面经作用域发布同法接入(t7)。
验收:差分矩阵在案形与 GNU 5.3.20 逐字节 SAME(探针 29/30/34/35 + 全部 still-fires 守卫,含双引号伪跨度活引用仍报);回归钉 tests/issue1915_procsub_nounset_regressions.rs 23/23;lib 899/1/3 基线逐名一致;diffcorpus 306/306;CI 全绿。
同批发现的异机制残留已另立:#1930(重定向门引号感知)、#1931(双诊断)、#1932([[ ]] 比较值不物化跨度)、#1933([[ ]] 词首跨度后缀解析拒绝)——均非本条验收面。