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

MapStyleConstructorCall breaks Groovy-Eclipse

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.4
    • 2.0.6
    • Static compilation
    • None

    Description

      The MapStyleConstructorCall ast node is used in place of a ConstructorCallExpression ast node. However, since MapStyleConstructorCall is a sub-class of ByteCodeExpression, it is not treated as a normal ast node and AST visitors are not visiting it correctly.

      This has an effect on Groovy-Eclipse in that source code operations (eg- search, refactor, type inferencing, organize imports, navigation, etc) will not work on {{MapStyleConstructorCall}}s or any of their child nodes.

      Additionally, source locations are not correct for this AST node.

      Attachments

        Activity

          People

            melix Cédric Champeau
            werdna Andrew Eisenberg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: