Skip to content

test(perl): lock in args-summing behavior from PR #1520 - #1666

Merged
squid-protocol merged 1 commit into
mainfrom
fix/perl-1519-args-idiom-counting
Aug 15, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
fix/perl-1519-args-idiom-counting

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Summary

Was dispatched to fix #1519, but investigation found it was already fixed by
PR #1520 (merged 2026-08-14) -- that PR's body said "Fixes #1518, #1519" but
GitHub only auto-linked #1518, so #1519 never closed despite being resolved.
Closed #1519 directly with a pointer to PR #1520 and the current measured
number (args_exact_match 923/938 = 98.4%).

This PR is the one genuinely missing piece: PR #1520 shipped without
dedicated regression tests for its own specific behaviors (multi-statement
shift/my-unpacking summing, bare-shift-vs-shift-@array disambiguation, bare
catch-all @_ assignment). Adding them now so a future regex change can't
silently regress this without a test failing.

Verification

$ venv/bin/pytest tests/extraction/languages/test_perl.py tests/extraction/languages/test_perl_strict.py -q
111 passed

No engine changes -- test-only PR, no golden master / accuracy baseline impact.

Type of change

  • Bug fix
  • Docs, tooling, or CI only (test coverage)

Co-Authored-By: Claude Sonnet 5 [email protected]

PR #1520 fixed perl args-counting (multi-statement shift/my-unpacking
summing, bare-shift-vs-shift-@array disambiguation, bare catch-all
@_ assignment) but shipped without dedicated regression tests for these
specific behaviors -- adding them now while verifying #1519 (which #1520
also fixed, just never got auto-closed since PR #1520's body only linked
#1518 via GitHub's closing-issue-reference syntax).

Co-Authored-By: Claude Sonnet 5 <[email protected]>
@squid-protocol
squid-protocol merged commit 19d14b6 into main Aug 15, 2026
26 checks passed
@squid-protocol
squid-protocol deleted the fix/perl-1519-args-idiom-counting branch August 15, 2026 19:46
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant