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

Visit properties and fields even if variable is a DynamicVariable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-beta-2
    • 2.0-beta-3
    • Static Type Checker
    • None

    Description

      The static type checker fails if it encounters a DynamicVariable. However, in some situations like some AST transformations, a field or a propery may have been added to the owner. If this is the case, the AST isn't changed from DynamicVariable to VariableExpression but still, a field is available.

      Attachments

        Activity

          People

            melix Cédric Champeau
            melix Cédric Champeau
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: