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

A closure body can't be a single identifier

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-beta-3
    • 1.0-beta-3
    • parser
    • None

    Description

      {(a)}

      is a valid closure

      {a}

      throws an UnexpectedTokenException

      Attachments

        Activity

          People

            bob Bob Paulin
            tug John Wilson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: