This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Enforce strict 'subs' in multideref optimisation
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Mon, 21 Dec 2015 19:25:32 +0000 (19:25 +0000)
committerRicardo Signes <rjbs@cpan.org>
Sun, 17 Jan 2016 02:45:16 +0000 (21:45 -0500)
commite1ccd2206d2572b12ff2ad8efe6b1370c580898f
tree9bf4f131bd3487cf4e91e856501816df1bdd6567
parentcda27dcf504146747d450c00da849d80744fdf7d
Enforce strict 'subs' in multideref optimisation

The code that checks constant keys and turns them into HEKs swallowed
the OP_CONST before the strictness checker could get to it, thus
allowing barewords when they should not be.
op.c
t/lib/strict/subs