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

[perl #123947] Bleadperl v5.21.6-473-g8c2e27d breaks GFUJI/macro-0.06.tar.gz

Thread Previous | Thread Next
From:
Tony Cook via RT
Date:
March 2, 2015 06:12
Subject:
[perl #123947] Bleadperl v5.21.6-473-g8c2e27d breaks GFUJI/macro-0.06.tar.gz
Message ID:
rt-4.0.18-21501-1425276760-1930.123947-15-0@perl.org
On Thu Feb 26 23:40:31 2015, andreas.koenig.7os6VVqR@franz.ak.mind.de wrote:
> bisect
> ------
> commit 8c2e27d21b5d476a55809ff18e76be4c43cb8551
> Author: Father Chrysostomos <sprout@cpan.org>
> Date:   Fri Dec 12 22:42:11 2014 -0800
> 
> Deparse $#{1} with braces

The change also converts $#_ into $#{_} which is unnecessary.

Unfortunately macro::__want_param() and macro::__param_replace() can't handle that form of access to @_, and so $#{_} isn't replaced with the actual macro parameter.

Since we don't need to deparse $#_ as $#{_} I've modified B::Deparse so it's again deparsed as $#_.

Tony

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=123947

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About