projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
f23ffd1
)
Fix potential value for clear
Dave Rolsky [Thu, 23 Sep 2010 17:18:17 +0000 (12:18 -0500)]
lib/Moose/Meta/Method/Accessor/Native/Array/clear.pm
patch
|
blob
|
blame
|
history
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
(file)
--- 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 ) = @_;