java.lang.AssertionError: Expected no errors, but got :ERROR (null) '++can only be applied to variable references' on WPostfixOperation, offset 43, length 4

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

Check your pattern declaration or check your assert declaration.


rafael

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • GitHub comment 716#228823907
    via GitHub by fdodino
    ,
  • Soften Graph Generator Tests
    via GitHub by spmallette
    ,
    • java.lang.AssertionError: Expected no errors, but got :ERROR (null) '++can only be applied to variable references' on WPostfixOperation, offset 43, length 4 at org.junit.Assert.fail(Assert.java:88) at org.eclipse.xtext.junit4.validation.ValidationTestHelper.assertNoErrors(ValidationTestHelper.java:187) at org.eclipse.xtext.junit4.validation.ValidationTestHelper.assertNoErrors(ValidationTestHelper.java:48) at org.uqbar.project.wollok.tests.interpreter.AbstractWollokInterpreterTestCase.lambda$6(AbstractWollokInterpreterTestCase.java:166)

    Users with the same issue

    Andreas Häber
    Andreas Häber8 times, last one,
    osvzs
    osvzs2 times, last one,
    Casper
    Casper2 times, last one,
    marcbouvierdav
    marcbouvierdav1 times, last one,
    rsprangemeijer
    rsprangemeijer1 times, last one,
    94 more bugmates