[Perl/perl5] 2ea988: B::Deparse.pm - improve ref_cmp handling
[email protected] (Richard Leach via perl5-changes)
| Newsgroups | perl.perl5.changes |
|---|---|
| Message-ID | <Perl/perl5/push/refs/heads/blead/[email protected]> |
Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: 2ea988bcd250d03a302955fc36848edee236bdf8
https://github.com/Perl/perl5/commit/2ea988bcd250d03a302955fc36848edee236bdf8
Author: Richard Leach <[email protected]>
Date: 2026-08-22 (Sat, 22 Aug 2026)
Changed paths:
M lib/B/Deparse.pm
M lib/B/Deparse.t
Log Message:
-----------
B::Deparse.pm - improve ref_cmp handling
Deparsing `ref_cmp` previously output the reftype string in single quotes.
However, if `use_dumper` was in effect, the expected quote marks may differ.
This commit adds support and a test for when double quotes are expected.
Additionally, deparsing always assumed that the OP that was replaced by the
OP_REF_CMP was a `ref`, now `reftype` is correctly deparsed.
To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications