T M
class X::Syntax::Variable::Numeric
Error ReportCollection examples

Compilation error due to declaring a numeric symbol

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

Syntax error thrown when trying to declare numeric symbols.

For example

my @101;

dies with

===SORRY!===
Cannot declare a numeric variable

Methods

method what

method what returns Str:D

Returns a verbal description of the kind of symbol that was declared (variable, parameter, attribute).