default curried_arguments to []
Hans Dieter Pearcey [Thu, 25 Jun 2009 22:05:29 +0000 (18:05 -0400)]
lib/Moose/Meta/Attribute.pm

index bf599be..c3083ee 100644 (file)
@@ -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 || [],
     );
 }