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

allow line ends after label declaration

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment