Details
-
Technical Debt
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
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
Attachments
Issue Links
- is related to
-
GROOVY-10248 Groovy ResolveVisitor runs twice
- Closed
-
GROOVY-8729 Eliminate the additional resolving phase of compilation for better performance
- Closed