From: Dave Rolsky Date: Thu, 23 Sep 2010 17:18:17 +0000 (-0500) Subject: Fix potential value for clear X-Git-Tag: 1.15~115 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4780fef9a765531631f0227684d8fef871a7d46d;p=gitmo%2FMoose.git Fix potential value for clear --- diff --git a/lib/Moose/Meta/Method/Accessor/Native/Array/clear.pm b/lib/Moose/Meta/Method/Accessor/Native/Array/clear.pm index c273d55..81505fd 100644 --- a/lib/Moose/Meta/Method/Accessor/Native/Array/clear.pm +++ b/lib/Moose/Meta/Method/Accessor/Native/Array/clear.pm @@ -13,7 +13,7 @@ sub _maximum_arguments { 0 } sub _adds_members { 0 } -sub _potential_value { return '()' } +sub _potential_value { return '[]' } sub _inline_optimized_set_new_value { my ( $self, $inv, $new, $slot_access ) = @_;