projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
6844232
)
The _inline_throw_error from the parent does the right thing
Dave Rolsky [Fri, 2 Sep 2011 18:06:38 +0000 (13:06 -0500)]
lib/Class/MOP/Method/Accessor.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Class/MOP/Method/Accessor.pm
b/lib/Class/MOP/Method/Accessor.pm
index
7767234
..
e4459ad
100644
(file)
--- a/
lib/Class/MOP/Method/Accessor.pm
+++ b/
lib/Class/MOP/Method/Accessor.pm
@@
-216,11
+216,6
@@
sub _generate_reader_method_inline {
};
}
-sub _inline_throw_error {
- my $self = shift;
- return 'Carp::confess ' . $_[0];
-}
-
sub _generate_writer_method_non_inline {
my $self = shift;
my $attr = $self->associated_attribute;