-
Notifications
You must be signed in to change notification settings - Fork 567
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
lexical sub decl clears stack #16243
Comments
From zefram@fysh.orgCreated by zefram@fysh.org$ perl -lwe 'print for qw(aa bb), do { my sub lleexx; 123 }, qw(cc dd)' Observe that at the point of "my sub", at runtime, the main stack gets $ perl -MData::Dumper -lwe 'print Dumper [ qw(aa bb), [qw(pp qq), do { my sub lleexx; 123 }, qw(rr ss)], qw(cc dd) ]' Perl Info
|
From @cpansproutOn Mon, 13 Nov 2017 22:25:29 -0800, zefram@fysh.org wrote:
Even better: $ ./perl -lwe 'print join "-", qw(aa bb), do { my sub l; 123 }, qw(cc dd ee ff gg)' I have a fix. I’m just waiting for tests to finish. -- Father Chrysostomos |
The RT System itself - Status changed from 'new' to 'open' |
From @cpansproutOn Tue, 14 Nov 2017 16:23:02 -0800, sprout wrote:
Fixed in 695d658. -- Father Chrysostomos |
@cpansprout - Status changed from 'open' to 'pending release' |
From @khwilliamsonThank you for filing this report. You have helped make Perl better. With the release yesterday of Perl 5.28.0, this and 185 other issues have been Perl 5.28.0 may be downloaded via: If you find that the problem persists, feel free to reopen this ticket. |
@khwilliamson - Status changed from 'pending release' to 'resolved' |
Migrated from rt.perl.org#132442 (status was 'resolved')
Searchable as RT132442$
The text was updated successfully, but these errors were encountered: