Skip to content

Commit 4d0024a

Browse files
committed
perldelta for smartmatch, class constructors exiting with loop exits
1 parent 107c29a commit 4d0024a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

pod/perldelta.pod

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,14 @@ manager will later use a regex to expand these into links.
366366

367367
=item *
368368

369-
XXX
369+
Smartmatch against a code reference that uses a loop exit such as
370+
C<last> would crash perl. [GH #16608]
371+
372+
=item *
373+
374+
Class initializers and C<ADJUST> blocks, per L<perlclass>, that
375+
called C<last> or other loop exits would crash perl. Same cause as
376+
for [GH #16608]
370377

371378
=back
372379

0 commit comments

Comments
 (0)