brummett / Devel-Chitin

Abstract base class for Perl debuggers
1 stars 4 forks source link

Deparse failures with dev Perl - PV is not a method on B::SPECIAL #84

Closed brummett closed 1 year ago

brummett commented 1 year ago

5.37.3 and 5.37.4 both have several deparse related failures. Here's the 5.37.4 report: http://www.cpantesters.org/cpan/report/d41228da-2674-11ed-86cf-e3977c1fe49f

The error "Can't locate object method "PV" via package "B::SPECIAL"" comes up several times in the test runs. The offending function is Devel::Chitin::OpTree::pp_padsv(), used to get the name of a variable. It might be related to #83 which defines a new OP for assigning to a variable

brummett commented 1 year ago

These seem to be related to new undef-op-related changes. Things like "$myvar = undef" and "undef($myvar)" can get optimized to store the target in the undef OP.