Skip to content

Conversation

@jkeenan
Copy link
Contributor

@jkeenan jkeenan commented Nov 26, 2025

Addresses #23964.


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

@jkeenan jkeenan requested review from iabyn, leonerd and tonycoz November 26, 2025 23:31
Copy link
Contributor

@iabyn iabyn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given that its not slowing anything down by being there, I would be tempted to keep in case of any hypothetical XS-constructed optrees which bypass the compile-time check.

Test suite does not reach this code block, but Dave M recommends
retaining it in case of (hypothetical) XS-constructed optrees
which bypass compile-time check.

For: GH Perl#23964 (issue); GH Perl#23965 (p.r.)
@jkeenan
Copy link
Contributor Author

jkeenan commented Nov 27, 2025

Given that its not slowing anything down by being there, I would be tempted to keep in case of any hypothetical XS-constructed optrees which bypass the compile-time check.

Okay, since I'm mainly concerned with clearing away the underbrush for #23618, I'll revert the code and include an inline comment.

@jkeenan jkeenan added the squash-before-merge Author must squash the commits down before merging to blead label Dec 1, 2025
@jkeenan jkeenan changed the title pp_ctl.c: remove unreachable code pp_ctl.c: comment on unreachable code Dec 1, 2025
@jkeenan
Copy link
Contributor Author

jkeenan commented Dec 1, 2025

This p.r. was superseded by #23971. Closing.

@jkeenan jkeenan closed this Dec 1, 2025
@jkeenan jkeenan deleted the pp_ctl-c-remove-unreachable-code-20251126 branch December 1, 2025 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

goto-partial-fatalization squash-before-merge Author must squash the commits down before merging to blead

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants