X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMouse.git;a=blobdiff_plain;f=lib%2FMouse%2FPurePerl.pm;h=ad2d35b597bf4a66c9148aedd65f087153513ff3;hp=94d57d888749699a97a3d49a398afe7fd874508a;hb=72dc2c9d7f309b7e9216cdc7ab0e30feb0f2edd8;hpb=3b48bcc824fb6cfa90f907cf4d83e01c224a72dd diff --git a/lib/Mouse/PurePerl.pm b/lib/Mouse/PurePerl.pm index 94d57d8..ad2d35b 100644 --- a/lib/Mouse/PurePerl.pm +++ b/lib/Mouse/PurePerl.pm @@ -528,14 +528,12 @@ sub name { $_[0]->{name} } sub parent { $_[0]->{parent} } sub message { $_[0]->{message} } -sub type_parameter { $_[0]->{type_parameter} } -sub __is_parameterized { exists $_[0]->{type_parameter} } - +sub type_parameter { $_[0]->{type_parameter} } sub _compiled_type_constraint{ $_[0]->{compiled_type_constraint} } - sub _compiled_type_coercion { $_[0]->{_compiled_type_coercion} } -sub has_coercion{ exists $_[0]->{_compiled_type_coercion} } +sub __is_parameterized { exists $_[0]->{type_parameter} } +sub has_coercion { exists $_[0]->{_compiled_type_coercion} } sub compile_type_constraint{ @@ -586,7 +584,6 @@ sub compile_type_constraint{ package Mouse::Object; - sub BUILDARGS { my $class = shift; @@ -634,7 +631,6 @@ sub DESTROY { my $e = do{ local $@; eval{ - # DEMOLISHALL # We cannot count on being able to retrieve a previously made