class X::Parameter::MultipleTypeConstraints does X::Comp { }
Compile time error thrown when a parameter has multiple type constraints.
This is not allowed in Raku.0.
Example:
sub f(Cool Real $x) { }
dies with
Parameter $x may only have one prefix type constraint
Methods
method parameter
Returns the name of the offensive 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.