Skip to content

Conversation

@richardleach
Copy link
Contributor

This commit partially reverts fd88a92

In two places in that commit, setting GvCVGEN to zero was changed to just asserting that the value was already zero, because the CV had just been created (with a Zeroed body). However, the value is set on a pre-existing GV, not on the fresh CV, so no assumptions should be made about the current value of GvCVGEN.

Closes #23855
Closes #23856


  • This set of changes does not require a perldelta entry.

This commit partially reverts Perl@fd88a92

In two places in that commit, setting `GvCVGEN` to zero was changed
to just asserting that the value was already zero, because the CV
had just been created (with a Zeroed body). However, the value is
set on a pre-existing GV, not on the fresh CV, so no assumptions
should be made about the current value of `GvCVGEN`.
@richardleach richardleach merged commit 6c69639 into Perl:blead Oct 18, 2025
34 checks passed
@richardleach richardleach deleted the oldgv_not_new_cv branch October 18, 2025 13:16
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.

BBC: Blead Breaks Test::TraceCalls BBC: Blead Breaks Test::Mockingbird

2 participants