Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: 6a9d009e69dd224a54be0dcbcc2aeaccb774078b
https://github.com/Perl/perl5/commit/6a9d009e69dd224a54be0dcbcc2aeaccb774078b
Author: Paul "LeoNerd" Evans <[email protected]>
Date: 2024-12-02 (Mon, 02 Dec 2024)
Changed paths:
M lib/B/Deparse.pm
M lib/B/Deparse.t
Log Message:
-----------
lib/B/Deparse.pm: Don't get upset by OP_METHSTART in method subs
When encountering a `method` sub under `use feature 'class'`, we need to
skip over and ignore the `OP_METHSTART` at the beginning, so we can
still safely handle the signature ops. We also need to emit the
declaration under a `method` keyword, rather than a `sub`.
To unsubscribe from these emails, change your notification settings at
https://github.com/Perl/perl5/settings/notifications