T M
class X::Syntax::UnlessElse
Error ReportCollection examples

Compilation error due to an unless clause followed by else

class X::Syntax::UnlessElse does X::Syntax { }

Syntax error thrown when an unless clause is followed by an else clause.

For example

unless 1 { } else { };

dies with

===SORRY!===
"unless" does not take "else"please rewrite using "if"