projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
03d53c1
)
Load superclass explicitly
Shawn M Moore [Thu, 14 Jun 2012 20:04:03 +0000 (15:04 -0500)]
lib/Moose/Util.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Moose/Util.pm
b/lib/Moose/Util.pm
index
5e0e99d
..
7351a25
100644
(file)
--- 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],