paulk-asert opened a new pull request, #2733: URL: https://github.com/apache/groovy/pull/2733
… of classgen order Since GROOVY-10687, a top-level class whose inner classes contain a closure is generated after its nest members, which can place it after its own subclass in the classgen order. The abstract-method check in ClassCompletionVerifier relied on the covariant bridge method that Verifier adds to the declaring class, so verifying a subclass first raised a spurious "same name but different return type" error. Recognise a covariant override directly instead; genuinely incompatible return types are still rejected by Verifier's covariant-method check. -- 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]
