projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
5281fe7
)
Pass metaclass to init_meta
Shawn M Moore [Wed, 15 Apr 2009 20:34:42 +0000 (16:34 -0400)]
lib/Moose/Exporter.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Moose/Exporter.pm
b/lib/Moose/Exporter.pm
index
d62f1cf
..
122574b
100644
(file)
--- a/
lib/Moose/Exporter.pm
+++ b/
lib/Moose/Exporter.pm
@@
-259,7
+259,7
@@
sub _make_import_sub {
# Moose::Exporter, which in turn sets $CALLER, so we need
# to protect against that.
local $CALLER = $CALLER;
- $c->init_meta( for_class => $CALLER );
+ $c->init_meta( for_class => $CALLER, metaclass => $metaclass );
$did_init_meta = 1;
}