t/100_subtype_quote_bug.t
t/101_subtype_conflict_bug.t
t/102_Moose_Object_error.t
+t/103_subclass_use_base_bug.t
t/pod.t
t/pod_coverage.t
t/lib/Bar.pm
my ($class, %params) = @_;
my $self = $class->SUPER::new_object(%params);
foreach my $attr ($class->compute_all_applicable_attributes()) {
- next unless $params{$attr->name} && $attr->can('has_trigger') && $attr->has_trigger;
- $attr->trigger->($self, $params{$attr->name}, $attr);
+ next unless $params{$attr->init_arg} && $attr->can('has_trigger') && $attr->has_trigger;
+ $attr->trigger->($self, $params{$attr->init_arg}, $attr);
}
return $self;
}
use strict;
use warnings;
-use Test::More tests => 56;
+use Test::More tests => 55;
use Test::Exception;
BEGIN {
[ 'Moose::Object' ],
'... Point got the automagic base class');
-my @Point_methods = qw(meta x y clear);
+my @Point_methods = qw(x y clear);
my @Point_attrs = ('x', 'y');
is_deeply(