class X::Placeholder::Block
ErrorsCollection

class X::Placeholder::Block

Compilation error due to a placeholder in an ineligible block

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

Methods

method placeholder

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