New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refaliasing kills value on stack #15457
Comments
From zefram@fysh.orgCreated by zefram@fysh.orgAnother form of stack-not-refcounted bug: $ perl -Mexperimental=refaliasing -lwe 'my $x = 3; print +($x, (\$x = \5))[0] // "undef"' In the former case, the original $x scalar has its refcount go to zero and This came about from me thinking about the proposal I made to just create Consider which operations would need to create new mortal refs and $ perl -lwe 'my @a = (22,33,44); print @a, (@a=()), "z"' At first glance it would appear that the padsv op is one of the ones Perl Info
|
Migrated from rt.perl.org#128649 (status was 'new')
Searchable as RT128649$
The text was updated successfully, but these errors were encountered: