Repository navigation
refactor(lexer): tidy disown_pair leftovers and scope the &! rule - #4523
Open
cestercian wants to merge 1 commit into
Open
cestercian wants to merge 1 commit into
cestercian wants to merge 1 commit into
Conversation
📊 Automated PR Analysis
SummaryCleans up leftover logic from a prior disown_pair refactor in the shell lexer: removes a dead Arg match arm and a duplicate Review Checklist
Linked issues: #4517 Analyzed automatically by wshm · This is an automated analysis, not a human review. |
Author
|
Hey, just checking in on this, still happy to iterate on it. |
cursor
Bot
force-pushed
the
fix/disown-pair-cleanup
branch
from
November 18, 2026 07:04
155f5c9 to
5847658
Compare
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.
Fixes #4517
Tidy
disown_pairleftovers: drop the deadArgarm, remove the duplicate check incontains_fish_only_construct, and apply the glued&!rule only for zsh (fish treats spaced and glued&!the same, so those scripts can stay attestable). Fish still refuses glued&|viaopens_disown_pair.Unit tests cover fish
&!attestable vs zsh&!refused.cargo fmtandcargo clippy --all-targets -- -D warningsare clean; alldiscover::lexertests pass. One unrelatedguard_integration_test::git_log_malformed_digit_run_propagates_real_git_errorfailure remains (git 2.43 message wording vs the test expectation).