class X::Syntax::Self::WithoutObject does X::Syntax { }
Syntax error thrown when self
is referenced in a place where no invocant is available.
For example
outside a class or role declaration dies with
===SORRY!===
'self' used where no object is available
Type relations for X::Syntax::Self::WithoutObject
Expand chart above