projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
9398581
)
keep the same return value init_meta had previously
Jesse Luehrs [Sun, 6 May 2012 18:02:22 +0000 (13:02 -0500)]
lib/Moose/Exporter.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Moose/Exporter.pm
b/lib/Moose/Exporter.pm
index
b32f302
..
fc3a495
100644
(file)
--- a/
lib/Moose/Exporter.pm
+++ b/
lib/Moose/Exporter.pm
@@
-737,7
+737,11
@@
sub _make_init_meta {
return unless %new_style_roles || %old_style_roles || %base_class_roles;
- return sub { };
+ return sub {
+ shift;
+ my %opts = @_;
+ $meta_lookup->($opts{for_class});
+ };
}
sub import {