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

Rework runtime script member resolution

    XMLWordPrintableJSON

Details

    • Technical Debt
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 4.0.0-rc-2
    • None
    • None

    Description

      Rework the runtime resolution for outer class members. ClassNodeResolver can find top-level types in outer scripts. But it requires something additional to resolve members when processing semantic analysis phase for a class and a script is added and requires all phases of processing.

      There was quite a bit of code added to handle these cases individually. But it was quite complex and did not benefit the pre-compiled class users.

      https://github.com/apache/groovy/pull/1640/commits/8e8543bf739f8b118a2f5868e0c56e874ae5cd4c

      GROOVY-4287, GROOVY-4386, GROOVY-7812, GROOVY-9243

      Attachments

        Issue Links

          Activity

            People

              emilles Eric Milles
              emilles Eric Milles
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m