Repository navigation
test(parser): absorb #3744's #3388 regression pins (pin-only) - #3844
Merged
Merged
Conversation
The fix for #3388 landed via #3558 (same operator-token mechanism). #3744's pin file adds four coverage shapes #3558's pins lack: the closed-bracket runtime error, !/test forms, unquoted-paren parse-error preservation, and the unclosed [[ guard. Pin file taken verbatim from #3744, authorship preserved.
Member
Author
|
【WIN-AGENT-AUDIT】 PR #3844 — 建议:PASS(pins-only absorb,钉 8/8 双端绿,CI 红均基线/infra) 机制核查:
腿:
F 点:无。 未跑/VOID 的腿:fail-first 实测(pre-#3558 base 构建)、marker-lint/utf8 bash 腿。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this is
Pin-only absorb of the regression suite from #3744 (author: @arookieofc-ai), whose product fix for #3388 was superseded before it could land.
Why not #3744 itself
#3388 was fixed by #3558 (filed 2026-11-14, merged 2026-11-16): the function-head probe now matches parens on the operator token (
is_paren_operator, kindKeyword) instead of token text — the same mechanism #3744 implements withis_keyword/ raw-text guards. #3744 (filed 2026-11-15, while #3558 was in flight) now conflicts with master in all three of itsfunction_command.rshunks precisely because #3558 already replaced those exact checks, so its product change cannot and should not land.What is absorbed
tests/issue3388_unclosed_bracket_regressions.rs, taken verbatim from #3744 (commit authored by @arookieofc-ai, preserved). Of its 8 tests, four cover shapes #3558's own pin file (tests/issue3388_quoted_paren_function_head.rs) does not:[with quoted parens is a runtime error!/testforms match GNU[[is still a parse error (guard)The other four duplicate #3558's coverage and are kept as-is from the author's file rather than trimmed, to keep the absorbed file verbatim.
If any absorbed pin fails on master, that indicates a real divergence between the #3558 and #3744 mechanisms and should be investigated rather than merged over.
本 PR 删除了什么
Nothing — test-only addition, no product code changed.
Refs #3388