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
Found via mvdan/sh parser-corpus -n parity run (ecosuite lane; family 2 of 3). rubash -n returns 0 where WSL GNU Bash 5.3.0 errors:
file
input
rubash
GNU bash 5.3.0
t0169.sh
( )
0
2 (near unexpected token ))
t0173.sh
while false; do; done
0
2 (near unexpected token done)
t0459.sh
foo=([)
0
1 (unexpected EOF while looking for matching ))
t0415.sh
[[ a == (b|c)* ]]
0
2 (unexpected argument ()
GNU C source owners:
( ): parse.y subshell grammar requires a non-empty compound_list (empty subshell is a parse error since bash treats ) with no command as unexpected token).
do; done: loop body is compound_list — must not be empty.
foo=([): parse.y array-assignment word scan requires balancing [ subscripts; EOF inside the assignment word is an error, not a silent accept.
[[ a == (b|c)* ]]: extglob pattern characters are only special when shopt extglob is on at PARSE time — without it, ( is an unexpected argument inside [[ ]]. This is the same parse-time extglob gate family as rubash#131/[bug] extglob case 模式未按解析时 shopt extglob 门控(case x in @(a|b)) 在 -n 下被静默接受,GNU 拒绝) #143 (those covered -n mode generally and case patterns; this one is the [[ == ]] pattern position with no shopt at all).
Artifacts: target/issue-suites/results/ecosuite/mvdan-n/ (matrix/diverge + per-file stderr), corpus target/ecosuite/mvdan-corpus/.
Lane: wt4/ecosuite evaluation suites (no src/ fixes in lane).
Activity
ecosuite lane: dedicated mixed-suite coverage (modernish/mvdan-sh/nvm…
ecosuite fixes: #218 assignment-RHS backslash data, #219 comment newl…
caomengxuan666 commentedon Sep 27, 2026
已修复并合入 master(commit d3e8aff,lane wt4/ecofix,GNU 引用见提交;探针/夹具与 WSL GNU 5.3.0 字节一致)。感谢报告!
fix(#327): empty/comment-only brace-group and function bodies are syn…