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

=TITLE class X::Syntax::Variable::Match

=SUBTITLE Compilation error due to declaring a match variable

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

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

For example

=for code :skip-test<compile time error>
my $<thing>;

dies with

=for code :lang<text>
===SORRY!===
Cannot declare a match variable

=end pod
