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

GenericTypes in AST for ConstructorCallExpression

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6-beta-1
    • 1.5.7, 1.6-beta-2
    • ast builder
    • None
    • WinXP

    Description

      Generic in constructor calls weren't represented in the AST.
      This is solved in APP method constructorCallExpression:

      ClassNode type = buildName(constructorCallNode);
      

      to

      ClassNode type = makeTypeWithArguments(constructorCallNode);
      

      Attachments

        Activity

          People

            mkempf Martin Kempf
            mkempf Martin Kempf
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: