Skip Menu |

This queue is for tickets about the Moose CPAN distribution.

Report information
The Basics
Id: 69839
Status: resolved
Priority: 0/
Queue: Moose

People
Owner: Nobody in particular
Requestors: mmcleric [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 2.0300-TRIAL



Subject: Can't add method modifier for 'isa' method
One-liner to reproduce the issue: $ perl -le 'use Moose; print $]; print Moose->VERSION; before "isa" => sub { print "before" };' 5.008008 2.0000 The method 'isa' was not found in the inheritance hierarchy for main at /usr/lib/perl5/Class/MOP/Class.pm line 1091 Class::MOP::Class::__ANON__('Moose::Meta::Class=HASH(0x1009ad0)', 'isa') called at /usr/lib/perl5/Class/MOP/Class.pm line 1116 Class::MOP::Class::add_before_method_modifier('Moose::Meta::Class=HASH(0x1009ad0)', 'isa', 'CODE(0x605030)') called at /usr/lib/perl5/Moose/Util.pm line 246 Moose::Util::add_method_modifier('Moose::Meta::Class=HASH(0x1009ad0)', 'before', 'ARRAY(0xff39e0)') called at /usr/lib/perl5/Moose.pm line 76 Moose::before('undef', 'isa') called at /usr/lib/perl5/Moose/Exporter.pm line 365 Moose::before('isa', 'CODE(0x605030)') called at -e line 1