class X::Syntax::Variable::Match does X::Syntax { }

Syntax error thrown when a match variable like $<thing> was declared.

For example

my $<thing>;

dies with

===SORRY!===
Cannot declare a match variable

Typegraph§

Type relations for X::Syntax::Variable::Match
raku-type-graph Match Match Capture Capture Match->Capture Cool Cool Match->Cool Mu Mu Any Any Any->Mu Capture->Any Cool->Any Grammar Grammar Grammar->Match

Expand chart above