[
https://issues.apache.org/jira/browse/GROOVY-10300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Milles resolved GROOVY-10300.
----------------------------------
Fix Version/s: 4.0.0-rc-2
Resolution: Fixed
> 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
> Fix For: 4.0.0-rc-2
>
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> 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)