From: Shawn M Moore Date: Thu, 14 Jun 2012 20:04:03 +0000 (-0500) Subject: Load superclass explicitly X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=fe21fa25995319a87841a41d73257569ced4335c;p=gitmo%2FMoose.git Load superclass explicitly --- diff --git a/lib/Moose/Util.pm b/lib/Moose/Util.pm index 5e0e99d..7351a25 100644 --- a/lib/Moose/Util.pm +++ b/lib/Moose/Util.pm @@ -485,6 +485,8 @@ sub throw { my $metaclass; + load_class($superclass); + if ($roles) { $metaclass = Moose::Meta::Class->create_anon_class( superclasses => [$superclass],