Compilation error due to declaring an anonymous multi
does X::Comp
Compile time error thrown when an anonymous multi is being declared.
For example
multi method ()
dies with
Cannot put multi on anonymous method
method multiness(--> Str)
Returns a string describing the multiness that the original code used, for example "multi"
or "proto"
.
method routine-type(--> Str)
Returns a string describing the type of routine that was declared, for example "sub"
or "method"
.