Groovy
  1. Groovy
  2. GROOVY-144

A closure body can't be a single identifier

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0-beta-3
    • Fix Version/s: 1.0-beta-3
    • Component/s: parser
    • Labels:
      None

      Description

      {(a)}

      is a valid closure

      {a}

      throws an UnexpectedTokenException

        Activity

        John Wilson created issue -
        james strachan made changes -
        Field Original Value New Value
        Resolution Fixed [ 1 ]
        Fix Version/s 1.0-beta-3 [ 10242 ]
        Status Open [ 1 ] Closed [ 6 ]
        John Wilson made changes -
        Status Closed [ 6 ] Reopened [ 4 ]
        Resolution Fixed [ 1 ]
        james strachan made changes -
        Resolution Fixed [ 1 ]
        Status Reopened [ 4 ] Closed [ 6 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 13:32:57 UTC 2015 [ 1428240777691 ]
        Mark Thomas made changes -
        Workflow jira [ 12729301 ] Default workflow, editable Closed status [ 12741200 ]
        Mark Thomas made changes -
        Project Import Mon Apr 06 02:11:23 UTC 2015 [ 1428286283443 ]
        Mark Thomas made changes -
        Workflow jira [ 12967826 ] Default workflow, editable Closed status [ 12975600 ]

          People

          • Assignee:
            bob mcwhirter
            Reporter:
            John Wilson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development