X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMouse.git;a=blobdiff_plain;f=lib%2FMouse%2FMeta%2FMethod%2FConstructor.pm;h=8d110dacccf7eff4b07c4d1f0c452b6ca13acf7e;hp=75f589d2eebfeb981871887dd3bb91e86d9dcb49;hb=0eaf53c27a3ef11c0a515a91df229d10bf29b58d;hpb=6b646f93cdb9d06f002b1bd548e3c47e3a6f5e84 diff --git a/lib/Mouse/Meta/Method/Constructor.pm b/lib/Mouse/Meta/Method/Constructor.pm index 75f589d..8d110da 100644 --- a/lib/Mouse/Meta/Method/Constructor.pm +++ b/lib/Mouse/Meta/Method/Constructor.pm @@ -6,7 +6,7 @@ sub generate_constructor_method_inline { my ($class, $meta) = @_; my $associated_metaclass_name = $meta->name; - my @attrs = $meta->compute_all_applicable_attributes; + my @attrs = $meta->get_all_attributes; my $buildall = $class->_generate_BUILDALL($meta); my $buildargs = $class->_generate_BUILDARGS($meta); my $processattrs = $class->_generate_processattrs($meta, \@attrs);