You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Eric Milles (Jira)" <ji...@apache.org> on 2021/10/12 19:16:00 UTC

[jira] [Updated] (GROOVY-10300) Rework runtime script member resolution

     [ https://issues.apache.org/jira/browse/GROOVY-10300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Milles updated GROOVY-10300:
---------------------------------
    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

  was:
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.

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

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.

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


> Rework runtime script member resolution
> ---------------------------------------
>
>                 Key: GROOVY-10300
>                 URL: https://issues.apache.org/jira/browse/GROOVY-10300
>             Project: Groovy
>          Issue Type: Technical Debt
>            Reporter: Eric Milles
>            Assignee: Eric Milles
>            Priority: Minor
>
> 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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)