Open GoogleCodeExporter opened 9 years ago
It looks like the magic incantation is causing the problem. Taking it out makes
the program work as expected:
__PACKAGE__->meta->make_immutable;
Original comment by todd.e.rinaldo
on 22 Aug 2014 at 8:53
Original comment by todd.e.rinaldo
on 22 Aug 2014 at 8:55
Original comment by reini.urban
on 22 Aug 2014 at 2:50
It cannot find the $orig method when in Class/MOP/Class/Immutable/Trait.pm:90
{__immutable}{_method_map} is empty. $orig is 0x0.
It should be the $f1 in the anonsub in Class/MOP/Method/Wrapped.pm:162
sub { $f2->( $f1, @_ ) }
$f2 is the &_method_map
$f1 is pop'ed from @_ of $compile_around_method.
Original comment by reini.urban
on 22 Aug 2014 at 3:03
Original comment by reini.urban
on 22 Aug 2014 at 3:04
Original issue reported on code.google.com by
todd.e.rinaldo
on 22 Aug 2014 at 8:51