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

Labeled statements have wrong source position

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7.1
    • 2.6.0-alpha-1
    • parser
    • None

    Description

      Example:

      mylabel:
      foo()
      

      Source position of this statement is [1,8]-[1,9], which is the position of the ':' token. Same for all other labeled statements I've checked.

      Attachments

        Issue Links

          Activity

            People

              daniel_sun Daniel Sun
              pniederw Peter Niederwieser
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: