groovy
  1. groovy
  2. GROOVY-144

A closure body can't be a single identifier

    Details

    • Type: Bug Bug
    • Status: Closed 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
    • Number of attachments :
      0

      Description

      {(a)}

      is a valid closure

      {a}

      throws an UnexpectedTokenException

        Activity

        james strachan made changes -
        Field Original Value New Value
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Fix Version/s 1.0-beta-3 [ 10242 ]
        John Wilson made changes -
        Status Closed [ 6 ] Reopened [ 4 ]
        Resolution Fixed [ 1 ]
        james strachan made changes -
        Resolution Fixed [ 1 ]
        Status Reopened [ 4 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: