=begin pod :kind("Type") :subkind("class") :category("exception")

=TITLE class X::Parameter::MultipleTypeConstraints

=SUBTITLE Compilation error due to a parameter with multiple type constraints

    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:

=for code :skip-test<compile time error>
sub f(Cool Real $x) { }

dies with

=for code :lang<text>
Parameter $x may only have one prefix type constraint

=head1 Methods

=head2 method parameter

Returns the name of the offensive parameter.

=end pod
