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

Re: [perl #116821] B::Deparse warnings during build of 5.17.9

Thread Previous | Thread Next
Dave Mitchell
March 3, 2013 01:07
Re: [perl #116821] B::Deparse warnings during build of 5.17.9
Message ID:
On Thu, Feb 21, 2013 at 09:43:24PM +0100, demerphq wrote:
> On 21 February 2013 20:01, Aaron Crane <> wrote:
> > Aaron Crane <> wrote:
> >> These warnings come from dist/B-Deparse/t/deparse.t; specifically,
> >> this TODO test (currently at the bottom):
> >>
> >> # SKIP ?$] < 5.017004 && "lexical subs not implemented on this Perl version"
> >> # TODO unimplemented in B::Deparse; RT #116553
> >> # lexical subroutine
> >> use feature 'lexical_subs';
> >> my sub f {}
> >> print f();
> >>
> >> I think this ticket can be merged into #116553; any disagreement?
> >
> > It's been suggested to me off-list that these warnings get in the way,
> > and therefore that perhaps it would be better to skip the test for
> > now.  But I still think it's a good thing to have the test
> > TODO-executed until B::Deparse can handle lexical subs properly.  I
> > can see a way to give B::Deparse a simple stub implementation for
> > lexical subs, showing a declaration for them but not a definition.
> > (Documenting that deficiency would be a necessary further step, but an
> > easy one, fortunately.)  Does that sound like a suitable way forward?
> > In my view, it would also prevent lack of full lexical-sub deparsing
> > being a blocker for 5.18, given that the feature's experimental
> > anyway.
> I cant really comment on this. It doesnt sound bad, but from my point
> of view just making whatever outputs this not output to STDERR, or
> whatever is all that is needed. If what you described is in your
> opinion the right way to silence this output then that is fine too :-)

I've just applied 601448c36688a16a07b133714522cd9f63a9ed03, which does the
minimum to stop the TODO test producing noise on STDERR.

It would be nice to have Deparse to have at least minimal handling for
lexical subs for 5.18, but since its an experimental feature, I don't
think it needs to be a blocker. And I'm not volunteering!

Music lesson: a symbiotic relationship whereby a pupil's embellishments
concerning the amount of practice performed since the last lesson are
rewarded with embellishments from the teacher concerning the pupil's
progress over the corresponding period.

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