projects
/
gitmo/Moose.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fix error when array accessor delegation method is called with no arguments
[gitmo/Moose.git]
/
lib
/
Moose
/
Meta
/
Method
/
Accessor
/
Native
/
Array
/
accessor.pm
diff --git
a/lib/Moose/Meta/Method/Accessor/Native/Array/accessor.pm
b/lib/Moose/Meta/Method/Accessor/Native/Array/accessor.pm
index
99fbb84
..
97ea12e
100644
(file)
--- a/
lib/Moose/Meta/Method/Accessor/Native/Array/accessor.pm
+++ b/
lib/Moose/Meta/Method/Accessor/Native/Array/accessor.pm
@@
-71,8
+71,7
@@
sub _generate_method {
return $code;
}
-# If we get one argument we won't check the argument count
-sub _minimum_arguments {2}
+sub _minimum_arguments {1}
sub _maximum_arguments {2}
no Moose::Role;