daniellansun opened a new pull request, #3344: URL: https://github.com/apache/groovy/pull/3344
https://issues.apache.org/jira/browse/GROOVY-3330 Joint compilation still runs verification while printing Java stubs, so the stub text keeps `GroovyObject`, property accessors, default-argument overloads, and the Java `main` signature. After the stub is written, the class is restored to its pre-verification AST, so later phases and transforms see the same tree a non-joint compile has until class generation. Named inner classes are captured and restored the same way. Labels on implicit returns were already preserved by the stub verifier's `addReturnIfNeeded` override; this change also keeps synthetic members, `main`, default-argument metadata, and enclosing-method pointers off the tree during conversion. Coverage is in `Groovy3330`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
