=begin pod

=TITLE class X::Syntax::Self::WithoutObject

=SUBTITLE Compilation error due to invoking `self` in an ineligible scope

    class X::Syntax::Self::WithoutObject does X::Syntax { }

Syntax error thrown when C<self> is referenced in a place where no
invocant is available.

For example

=for code :skip-test
self;

in the mainline dies with

=for code :skip-test
===SORRY!===
'self' used where no object is available

=end pod
