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

RangeExpression doesn't implement Expression not allowing it to be the target of an assert

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-JSR-5
    • 1.1-beta-1
    • None
    • None

    Description

      if (2..<2) assert false
      if (2..2) assert true
      both work fine but:
      'assert 2..<2' returns:
      Caught: java.lang.AssertionError: Expression: <not implemented
      yet for class: org.codehaus.groovy.ast.expr.RangeExpression>

      Attachments

        Activity

          People

            blackdrag Jochen Theodorou
            paulk Paul King
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: