hint "use of assert" creates syntax error

Issue #7 new
Ernie Rael
created an issue

The rewrite should be ... if(!($1))... {{{ assert k == j : "foo";

}}} gets rewritten as {{{ if(!k == j) { throw new IllegalStateException("foo"); } }}}

Comments (1)

  1. Jan Lahoda repo owner

    After changeset: e910309e8c18 the parentheses should be added automatically if needed. Still not very correct when negating an expression, would be better to change the operator rather then introduce parentheses.

  2. Log in to comment