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
Methods
method name
method name(--> Str:D)
Returns the name that was used for more than one parameter.
See Also
class Exception
Anomalous event capable of interrupting normal control-flow
class X::Bind
Error due to binding to something that is not a variable or container
The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society.
All rights reserved.
Built with Podlite ā the markup and publishing tools behind this site.