class X::Placeholder::Block does X::Comp {}

Thrown when a placeholder variable is used in a block that does not allow a signature.

For example

class A { $^foo }

dies with

Placeholder variable $^foo may not be used here because the surrounding block takes no signature


method placeholder§

Returns the name of the (first) illegally used placeholder.


Type relations for X::Placeholder::Block
raku-type-graph X::Placeholder::Block X::Placeholder::Block Exception Exception X::Placeholder::Block->Exception X::Comp X::Comp X::Placeholder::Block->X::Comp Mu Mu Any Any Any->Mu Exception->Any X::Comp->Exception X::Placeholder::Mainline X::Placeholder::Mainline X::Placeholder::Mainline->X::Placeholder::Block

Expand chart above