Skip to content

Fix interpreter compiler state for Hash::Merge and Sub::Quote - #884

Closed
fglock wants to merge 2 commits into
masterfrom
fix/hash-merge-sub-quote-compiler
Closed

Fix interpreter compiler state for Hash::Merge and Sub::Quote#884
fglock wants to merge 2 commits into
masterfrom
fix/hash-merge-sub-quote-compiler

Conversation

@fglock

@fglock fglock commented Aug 3, 2026

Copy link
Copy Markdown
Owner

Summary

  • Preserve lexical warning metadata through interpreter eval STRING compilation and execution.
  • Emit warning-aware arithmetic for lexical uninitialized warnings, including runtime ${^WARNING_BITS} overrides.
  • Correct incomplete infix-expression diagnostics used by generated quoted subroutines.

Validation

  • make
  • timeout 1200 ./jcpan -t Sub::Quote — 5,427 tests passed
  • timeout 1200 ./jcpan -t Hash::Merge — 680 tests passed

fglock and others added 2 commits August 3, 2026 12:35
Preserve lexical warning metadata and runtime warning-bit overrides across
interpreter eval STRING compilation, including warning-aware arithmetic.
Correct incomplete infix-expression diagnostics so CPAN-generated quoted
subroutines report the same source line as Perl.

Generated with [Codex](https://openai.com/codex)

Co-Authored-By: Codex <158243242+codex[bot]@users.noreply.github.com>
Prevent ${^WARNING_BITS} assignments from leaking into later top-level
compile-time warning handling; only eval STRING execution installs the
runtime override, and RuntimeCode restores the prior value on exit.

Generated with [Codex](https://openai.com/codex)

Co-Authored-By: Codex <158243242+codex[bot]@users.noreply.github.com>
@fglock fglock closed this Aug 4, 2026
@fglock
fglock deleted the fix/hash-merge-sub-quote-compiler branch August 4, 2026 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant