Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions pp_ctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -3596,6 +3596,9 @@ PP(pp_goto)
DIE(aTHX_ "Can't \"goto\" out of a pseudo block");
case CXt_DEFER:
/* diag_listed_as: Can't "%s" out of a "defer" block */
/* GH #23965: Retain in case of any hypothetical
* XS-constructed optrees which bypass the compile-time check.
* */
DIE(aTHX_ "Can't \"%s\" out of a \"%s\" block", "goto", S_defer_blockname(cx));
default:
if (ix)
Expand Down
Loading