Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (20 sloc) 700 Bytes
=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 sub f() { $^x } dies with =for code :lang ===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
You can’t perform that action at this time.