Groovy
  1. Groovy
  2. GROOVY-3431

New setters for Statement subclasses

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7-beta-1
    • Fix Version/s: 1.6.1, 1.5.8, 1.7-beta-1
    • Component/s: Compiler
    • Labels:
      None

      Description

      The following setters should be added:

      • ForStatement.setLoopBlock()
      • WhileStatement.setLoopBlock()
      • DoWhileStatement.setLoopBlock()
      • TryCatchStatement.setFinallyStatement()
      • CaseStatement.setCode()

      This will make it much easier for AST transformations to replace individual statements.

        Activity

        Peter Niederwieser created issue -
        Hide
        Jochen Theodorou added a comment -

        I think this change can go into 1.5.x and 1.6.x as well

        Show
        Jochen Theodorou added a comment - I think this change can go into 1.5.x and 1.6.x as well
        Guillaume Delcroix made changes -
        Field Original Value New Value
        Fix Version/s 1.5.8 [ 14630 ]
        Fix Version/s 1.6.1 [ 14852 ]
        Peter Niederwieser made changes -
        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 [ 12732425 ] Default workflow, editable Closed status [ 12744222 ]
        Mark Thomas made changes -
        Project Import Mon Apr 06 02:11:23 UTC 2015 [ 1428286283443 ]
        Mark Thomas made changes -
        Workflow jira [ 12970222 ] Default workflow, editable Closed status [ 12978000 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        1d 33m 1 Peter Niederwieser 26/Mar/09 13:59

          People

          • Assignee:
            Peter Niederwieser
            Reporter:
            Peter Niederwieser
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development