class X::Anon::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§

method multiness(--> Str:D)

Returns a string describing the multiness that the original code used, for example "multi" or "proto".

method routine-type§

method routine-type(--> Str:D)

Returns a string describing the type of routine that was declared, for example "sub" or "method".


Type relations for X::Anon::Multi
raku-type-graph X::Anon::Multi X::Anon::Multi Exception Exception X::Anon::Multi->Exception X::Comp X::Comp X::Anon::Multi->X::Comp Mu Mu Any Any Any->Mu Exception->Any X::Comp->Exception

Expand chart above