Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
document X::Signature::NameClash
  • Loading branch information
moritz committed Aug 21, 2012
1 parent 95ca006 commit e7f00c9
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions lib/X/Signature/NameClash.pod
@@ -0,0 +1,27 @@
=begin pod
=TITLE class X::Signature::NameClash
my class X::Signature::NameClash does X::Comp { }
Compile time error thrown when two named parameters have the same name,
potentially through aliases.
For example
sub f(:$a, :a(:@b)) { }
dies with
===SORRY!===
Name a used for more than one named parameter
=head1 Methods
=head2 name
method name() returns Str:D
Returns the name that was used for more than one parameter.
=end pod

0 comments on commit e7f00c9

Please sign in to comment.