projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
1828145
)
default curried_arguments to []
Hans Dieter Pearcey [Thu, 25 Jun 2009 22:05:29 +0000 (18:05 -0400)]
lib/Moose/Meta/Attribute.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Moose/Meta/Attribute.pm
b/lib/Moose/Meta/Attribute.pm
index
bf599be
..
c3083ee
100644
(file)
--- a/
lib/Moose/Meta/Attribute.pm
+++ b/
lib/Moose/Meta/Attribute.pm
@@
-701,7
+701,7
@@
sub _make_delegation_method {
package_name => $self->associated_class->name,
attribute => $self,
delegate_to_method => $method_to_call,
- curried_arguments => $curried_arguments,
+ curried_arguments => $curried_arguments || [],
);
}