Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-3360

Better error message for assert a = 1

    XMLWordPrintableJSON

Details

    Description

      The error message for this:

      assert a = 1
      

      could be a bit nicer instead of:

      unexpected token '='
      

      it could say that it's a comparison operator that is expected there or more generally a boolean expression.

      Attachments

        Activity

          People

            daniel_sun Daniel Sun
            guillaume Guillaume Sauthier
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: