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
Methods§
method multiness§
method multiness(--> Str)
Returns a string describing the multiness that the original code used, for example "multi"
or "proto"
.
method routine-type§
method routine-type(--> Str)
Returns a string describing the type of routine that was declared, for example "sub"
or "method"
.