From: Tomas Doran Date: Wed, 25 Aug 2010 13:00:49 +0000 (+0100) Subject: mro::get_linear_isa not a method X-Git-Tag: 1.11~15 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=72825dcd9c9d72f70c6c8d5e1c7910f8cfd6f302;p=gitmo%2FMoose.git mro::get_linear_isa not a method --- diff --git a/Changes b/Changes index 213e099..e1a734a 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,10 @@ Also see Moose::Manual::Delta for more details of, and workarounds for, noteworthy changes. + [BUG FIXES] + + * mro::get_linear_isa is called as a function rather than a method + 1.10 Sun, Aug 22, 2010 [API CHANGES] diff --git a/lib/Moose.pm b/lib/Moose.pm index 8009ecc..089a9fd 100644 --- a/lib/Moose.pm +++ b/lib/Moose.pm @@ -176,7 +176,7 @@ sub init_meta { # no metaclass, no 'meta' method # now we check whether our ancestors have metaclass, and if so borrow that - my ( undef, @isa ) = @{ $class->mro::get_linear_isa }; + my ( undef, @isa ) = @{ mro::get_linear_isa($class) }; foreach my $ancestor ( @isa ) { my $ancestor_meta = Class::MOP::get_metaclass_by_name($ancestor) || next;