BrowserREPL-button-tip-on BrowserREPL-button-tip-off

EditButtonTip 2023-08-08

class X::Method::Private::Unqualified

Compilation error due to an unqualified private method call

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

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

For example

1!priv
Code

dies with

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

Methods§

method method§

method method(--> Str:D)
Code

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