Compilation error due to an infix in term position
does X::Syntax
Syntax error thrown when the parser expects a term, but finds an infix operator instead.
For example
1, => 2;
dies with
===SORRY!===Preceding context expects a term, but found infix => instead
method infix(--> Str)
Returns the symbol of the infix that was found in term position.