Compilation error due to implicitly using a self
that is not there
does X::Syntax
Compile time error thrown when $.foo
style calls are used where no invocant is available.
For example the code
;
in the program body throws the error
===SORRY!===Variable used where no 'self' is available
because $.meth
is short for $(self.meth)
, and there is no self
available in mainline.
Returns the variable/method call that caused the error.