This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #131627] extend stack in scalar-context pp_list when no args
authorAaron Crane <arc@cpan.org>
Sun, 16 Jul 2017 15:51:53 +0000 (16:51 +0100)
committerAaron Crane <arc@cpan.org>
Sun, 16 Jul 2017 15:51:53 +0000 (16:51 +0100)
commitb54564c32e53d4c517e4d4810eeb633be80649a9
treeebc5ea927296f2c6fcaaca044b3d3cd52773e449
parentd890b31817bc6977dad074b4b818dadbe763114f
[perl #131627] extend stack in scalar-context pp_list when no args

In scalar (well, non-list) context, pp_list always yields exactly one stack
element. It must therefore extend the stack for that element, in case there
were no arguments on the stack when it started.
pp.c
t/op/list.t