T M
class X::Declaration::Scope::Multi
Error ReportCollection examples

Compilation error due to declaring a multi with an ineligible scope

class X::Declaration::Scope::Multi is X::Declaration::Scope { }

Thrown when a multi is declared with an incompatible scope.

For example our multi sub foo() { } dies with

===SORRY!===
Cannot use 'our' with individual multi candidates. Please declare an our-scoped proto instead