Perl-Critic / PPI

54 stars 44 forks source link

Return correct name for lexical subroutines #261

Closed nanto closed 2 years ago

nanto commented 2 years ago

This pull request makes PPI::Statement::Sub#name method return correct name for lexical subroutines.

Fixes #260

oalders commented 2 years ago

Closing and re-opening to trigger CI.

oalders commented 2 years ago

@haarg can you review this as well?

oalders commented 2 years ago

Thanks for this @nanto. I broke this up into two different commits at the request of @wchristian and I have manually merged them into master.