develooper Front page | perl.perl5.porters | Postings from February 2013

Re: blockers of 5.18.0: a foreword

Thread Previous | Thread Next
Aaron Crane
February 17, 2013 11:13
Re: blockers of 5.18.0: a foreword
Message ID:
Ricardo Signes <> wrote:
> We need to work through our blockers, and identify any last blockers.
> Finally, if you know of current issues that are *not* in this list, please say
> so, or add them to the list.

I'm inclined to think this should be on the list:
B::Deparse doesn't handle lexical subs

Trying to deparse code with a `my sub` emits none of the code in the
subroutine, but does spew a separate warning for each of the three
unhandled ops:

$ ./perl -Ilib -MO=Deparse -Xe 'use feature "lexical_subs"; my sub f
{} print f()'
unexpected OP_INTROCV at lib/B/ line 1250.
unexpected OP_CLONECV at lib/B/ line 1250.
do {
unexpected OP_PADCV at lib/B/ line 1250.
no warnings;
use feature 'lexical_subs';
print XXX->();
-e syntax OK

Even a "deparsing lexical subs is not yet supported" message would be
better than this for a stable release, I think.

Aaron Crane **

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About