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

anonymous classes InnerClassNode has -1 for line numbers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.8-rc-2, 1.7.9, 1.9-beta-1
    • Compiler
    • None

    Description

      anonymous classes InnerClassNode has -1 for line numbers

      new Object() {}

      produces an InnerCLassNode. The lineNUmbers are -1

      This affects CodeNarc. I'd love to see this rolled back as far as possible. To 1.8 surely.

      Attachments

        Activity

          People

            hamletdrc Hamlet D'Arcy
            hamletdrc Hamlet D'Arcy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: