Permalink
Browse files

fix signature of bless

Object is gone, and since * is allowed as candidate, the previous type constraint there was wrong too
  • Loading branch information...
1 parent fe690ba commit 1b66aa12b32d8539a6702da7bf732ed146a4ea47 @moritz moritz committed Jan 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 S29-functions.pod
View
@@ -287,7 +287,7 @@ the exception.
=item bless
- method bless(Object::RepCandidate $candidate, *@protos, *%init_args --> Object )
+ method bless($candidate, *@protos, *%init_args )
Calling C<bless> on any invocant (but typically a type object) to create a new
object with the same class as the invocant.

0 comments on commit 1b66aa1

Please sign in to comment.