projects
/
gitmo/Moose.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
use the new _compile_code interface in cmop
[gitmo/Moose.git]
/
lib
/
Moose
/
Meta
/
Method
/
Accessor
/
Native.pm
diff --git
a/lib/Moose/Meta/Method/Accessor/Native.pm
b/lib/Moose/Meta/Method/Accessor/Native.pm
index
dd26002
..
5c8e22b
100644
(file)
--- a/
lib/Moose/Meta/Method/Accessor/Native.pm
+++ b/
lib/Moose/Meta/Method/Accessor/Native.pm
@@
-45,7
+45,7
@@
sub root_types { (shift)->{'root_types'} }
sub _initialize_body {
my $self = shift;
- $self->{'body'} = $self->_eval_code( $self->_generate_method );
+ $self->{'body'} = $self->_compile_code( $self->_generate_method );
return;
}