This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
handle deparsing of sub prototypes with sigs
authorDavid Mitchell <davem@iabyn.com>
Fri, 22 Jul 2016 09:08:50 +0000 (10:08 +0100)
committerDavid Mitchell <davem@iabyn.com>
Wed, 3 Aug 2016 19:54:41 +0000 (20:54 +0100)
commit9fe5784b4a7b013263f10dbe4fa029d61b9a1b60
treed54f34356215d6ab98d95e0ad9e489cee7ba2572
parente276dec7f3a8b7912cc237d41056ee43ff1c634d
handle deparsing of sub prototypes with sigs

when 'use feature "signatures"' is in scope, subroutine prototypes
should be deparsed as ':prototype($$)' rather than '($$)'

I've also tweaked the sub in question slightly to make adding
signature deparsing easier later on.
Porting/deparse-skips.txt
lib/B/Deparse.pm