class X::Method::Private::Unqualified does X::Comp { }

Compile time error thrown when a private method call on anything but self is not fully qualified.

For example

1!priv

dies with

===SORRY!===
Private method call to priv must be fully qualified with the package containing the method

Methods§

method method§

method method(--> Str:D)

Returns the name of the private method that triggered the error.

Typegraph§

Type relations for X::Method::Private::Unqualified
raku-type-graph X::Method::Private::Unqualified X::Method::Private::Unqualified Exception Exception X::Method::Private::Unqualified->Exception X::Comp X::Comp X::Method::Private::Unqualified->X::Comp Mu Mu Any Any Any->Mu Exception->Any X::Comp->Exception

Expand chart above