Groovy
  1. Groovy
  2. GROOVY-1322

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0-JSR-5
    • Fix Version/s: 1.1-beta-1
    • Component/s: None
    • Labels:
      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>

        Activity

        paulk@asert.com.au created issue -
        Guillaume Delcroix made changes -
        Field Original Value New Value
        Assignee Guillaume Laforge [ guillaume ]
        Hide
        Jochen Theodorou added a comment -

        implemented

        Show
        Jochen Theodorou added a comment - implemented
        Jochen Theodorou made changes -
        Fix Version/s 1.1-beta-1 [ 13164 ]
        Assignee Jochen Theodorou [ blackdrag ]
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Closed [ 6 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 13:32:57 UTC 2015 [ 1428240777691 ]
        Mark Thomas made changes -
        Workflow jira [ 12730465 ] Default workflow, editable Closed status [ 12742422 ]
        Mark Thomas made changes -
        Project Import Mon Apr 06 02:11:23 UTC 2015 [ 1428286283443 ]
        Mark Thomas made changes -
        Workflow jira [ 12968841 ] Default workflow, editable Closed status [ 12976547 ]
        Mark Thomas made changes -
        Reporter Paul King [ paulk@asert.com.au ] Paul King [ paulk ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        340d 14h 44m 1 Jochen Theodorou 19/Apr/07 19:03

          People

          • Assignee:
            Jochen Theodorou
            Reporter:
            Paul King
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development