File tree 1 file changed +4
-4
lines changed 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2465,7 +2465,7 @@ Perl_padlist_dup(pTHX_ PADLIST *srcpad, CLONE_PARAMS *param)
2465
2465
const I32 names_fill = PadnamelistMAX (PadlistNAMES (srcpad ));
2466
2466
const PAD * const srcpad1 = PadlistARRAY (srcpad )[1 ];
2467
2467
SV * * oldpad = AvARRAY (srcpad1 );
2468
- SV * * const names = PadnamelistARRAY (PadlistNAMES (dstpad ));
2468
+ PADNAME * * const names = PadnamelistARRAY (PadlistNAMES (dstpad ));
2469
2469
SV * * pad1a ;
2470
2470
AV * args ;
2471
2471
@@ -2483,9 +2483,9 @@ Perl_padlist_dup(pTHX_ PADLIST *srcpad, CLONE_PARAMS *param)
2483
2483
pad1a [ix ] = NULL ;
2484
2484
} else if (names_fill >= ix && names [ix ] &&
2485
2485
PadnameLEN (names [ix ])) {
2486
- const char sigil = SvPVX_const (names [ix ])[0 ];
2487
- if (( SvFLAGS ( names [ix ]) & SVf_FAKE )
2488
- || ( SvFLAGS ( names [ix ]) & SVpad_STATE )
2486
+ const char sigil = PadnamePV (names [ix ])[0 ];
2487
+ if (PadnameOUTER ( names [ix ])
2488
+ || PadnameIsSTATE ( names [ix ])
2489
2489
|| sigil == '&' )
2490
2490
{
2491
2491
/* outer lexical or anon code */
You can’t perform that action at this time.
0 commit comments