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

unit test case to ensure that we always set line number information on all AST nodes

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.5.6, 1.6-beta-1
    • None
    • None

    Description

      It'd be great if we could write a test where we parse a large blob of groovy code with all kinds of different expressions & statements and ensured that every AST node has real line numbers associated with it (i.e. not -1)

      Attachments

        1. testEnvironment.patch
          17 kB
          Martin Kempf

        Issue Links

          Activity

            People

              jez Jeremy Rayner
              jstrachan James Strachan
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: