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/12/16 14:30:00 UTC

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

    [ https://issues.apache.org/jira/browse/GROOVY-10300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17460774#comment-17460774 ] 

Eric Milles commented on GROOVY-10300:
--------------------------------------

Prototype: https://github.com/apache/groovy/commits/GROOVY-10300

> 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.20.1#820001)