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

allow line ends after label declaration

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-JSR-1
    • 1.0-JSR-5
    • None
    • None

    Description

      class LabelTest extends GroovyTestCase {

      void testDeclareSimpleLabel()

      { label_1: assert true // todo: make this pass // label_2: // assert true }

      }

      forcing labels to be on the same line like the
      labelled statement makes for inconvenient code
      reading.

      Attachments

        Activity

          People

            guillaume Guillaume Sauthier
            codevise Dierk König
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: