txt: ## match.md
  class X::Syntax::Variable::Match
  
  Compilation error due to declaring a match variable
  
  ```raku
  class X::Syntax::Variable::Match does X::Syntax { }
  ```
  
  Syntax error thrown when a match variable like `$<thing>` was declared.
  
  For example
  
  ```raku
  my $<thing>;
  
  ```
  
  dies with
  
  ｢text｣ without highlighting
  
  ```
  
  
  ```
  
  ===SORRY!===
  Cannot declare a match variable
  
  
  ```
  
  
  ```
  
  # [Typegraph](# "go to top of document")[§](#typegraphrelations "direct link")
  
  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](/assets/typegraphs/Match.svg)
  