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

switch-case, blocks and closures

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6-beta-1
    • None
    • None
    • None

    Description

      Please look a the attached file. I think it reveals a couple of problems with the Groovy syntax parser and Groovy's runtime behaviour.

      However, I don't know if the spec makes any restrictions on the placement of curly braces.

      Attachments

        1. bugSwitchCaseClosure.groovy
          1 kB
          Alexander Veit

        Activity

          People

            Unassigned Unassigned
            veita Alexander Veit
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: