From: Dave Rolsky Date: Fri, 2 Sep 2011 18:06:38 +0000 (-0500) Subject: The _inline_throw_error from the parent does the right thing X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3c55b362c9feec34a53cf2572b90f04547e2db44;p=gitmo%2FMoose.git The _inline_throw_error from the parent does the right thing --- diff --git a/lib/Class/MOP/Method/Accessor.pm b/lib/Class/MOP/Method/Accessor.pm index 7767234..e4459ad 100644 --- 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;