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

Fallthrough in Switch Statements doesn't work for Patterns

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0
    • 1.1-beta-1
    • None
    • None
    • Groovy 1.0, Java 1.5, Windows 2000

    Description

      Attempting to do fallthrough within switch statement with patterns does not work.

      See attached file for example of working pattern, non-stacked, and example that doesn't work with stacked cases.

      Attachments

        1. trial.groovy
          0.5 kB
          David Weiler-Thiessen

        Activity

          People

            blackdrag Jochen Theodorou
            davedude David Weiler-Thiessen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: