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

=TITLE class X::Signature::Placeholder

=SUBTITLE Compilation error due to placeholders in a block with a signature

=for code
class X::Signature::Placeholder does X::Comp { }

Compile time error thrown when a block has both an explicit signature
and placeholder parameters.

For example

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

dies with

=for code :lang<text>
===SORRY!===
Placeholder variable '$^x' cannot override existing signature

=head1 Methods

=head2 method placeholder

    method placeholder(--> Str:D)

Returns the name of a placeholder that was used in a block that already
had a signature.

=end pod
