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

GroovyConsole AST Viewer creates duplicate nodes in the tree view for some top level nodes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.7-beta-1
    • 1.7-beta-2
    • Groovy Console
    • None
    • all. tested on WinXP

    Description

      Duplicate nodes are created in the AST Viewer sometimes. FOr an example, view :
      println "Hello"

      The first node is a BLockStatement, the first child of that BlockStatement is the exact same BlockStatement, then the rest of the AST is correct. The same thing happens when viewing initialValue nodes of Parameter types. This seems to be an issue with ScriptToTreeNodeAdapter.make

      I'll get to fixing this eventually if no one else gets to it first.

      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:

              Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified