[ https://issues.apache.org/jira/browse/GROOVY-11736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18015796#comment-18015796 ]
ASF GitHub Bot commented on GROOVY-11736: ----------------------------------------- codecov-commenter commented on PR #2279: URL: https://github.com/apache/groovy/pull/2279#issuecomment-3217356780 ## [Codecov](https://app.codecov.io/gh/apache/groovy/pull/2279?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report :x: Patch coverage is `97.82609%` with `1 line` in your changes missing coverage. Please review. :white_check_mark: Project coverage is 67.4639%. Comparing base ([`ca1d663`](https://app.codecov.io/gh/apache/groovy/commit/ca1d6634a21529d3b578c1d09320adb18c49f70d?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`5b87016`](https://app.codecov.io/gh/apache/groovy/commit/5b8701652e6dadba576f62c15f280b720daeee9c?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)). :warning: Report is 23 commits behind head on master. | [Files with missing lines](https://app.codecov.io/gh/apache/groovy/pull/2279?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Patch % | Lines | |---|---|---| | [...va/org/codehaus/groovy/ast/tools/GeneralUtils.java](https://app.codecov.io/gh/apache/groovy/pull/2279?src=pr&el=tree&filepath=src%2Fmain%2Fjava%2Forg%2Fcodehaus%2Fgroovy%2Fast%2Ftools%2FGeneralUtils.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3JjL21haW4vamF2YS9vcmcvY29kZWhhdXMvZ3Jvb3Z5L2FzdC90b29scy9HZW5lcmFsVXRpbHMuamF2YQ==) | 88.8889% | [0 Missing and 1 partial :warning: ](https://app.codecov.io/gh/apache/groovy/pull/2279?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | <details><summary>Additional details and impacted files</summary> [](https://app.codecov.io/gh/apache/groovy/pull/2279?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) ```diff @@ Coverage Diff @@ ## master #2279 +/- ## ================================================== + Coverage 67.4605% 67.4639% +0.0034% - Complexity 29278 29289 +11 ================================================== Files 1381 1381 Lines 115727 115736 +9 Branches 20178 20179 +1 ================================================== + Hits 78070 78080 +10 + Misses 31250 31248 -2 - Partials 6407 6408 +1 ``` | [Files with missing lines](https://app.codecov.io/gh/apache/groovy/pull/2279?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | | |---|---|---| | [...org/codehaus/groovy/classgen/ExtendedVerifier.java](https://app.codecov.io/gh/apache/groovy/pull/2279?src=pr&el=tree&filepath=src%2Fmain%2Fjava%2Forg%2Fcodehaus%2Fgroovy%2Fclassgen%2FExtendedVerifier.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3JjL21haW4vamF2YS9vcmcvY29kZWhhdXMvZ3Jvb3Z5L2NsYXNzZ2VuL0V4dGVuZGVkVmVyaWZpZXIuamF2YQ==) | `92.4000% <100.0000%> (-0.0603%)` | :arrow_down: | | [...in/java/org/codehaus/groovy/classgen/Verifier.java](https://app.codecov.io/gh/apache/groovy/pull/2279?src=pr&el=tree&filepath=src%2Fmain%2Fjava%2Forg%2Fcodehaus%2Fgroovy%2Fclassgen%2FVerifier.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3JjL21haW4vamF2YS9vcmcvY29kZWhhdXMvZ3Jvb3Z5L2NsYXNzZ2VuL1ZlcmlmaWVyLmphdmE=) | `89.8109% <100.0000%> (+0.0972%)` | :arrow_up: | | [...us/groovy/transform/DelegateASTTransformation.java](https://app.codecov.io/gh/apache/groovy/pull/2279?src=pr&el=tree&filepath=src%2Fmain%2Fjava%2Forg%2Fcodehaus%2Fgroovy%2Ftransform%2FDelegateASTTransformation.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3JjL21haW4vamF2YS9vcmcvY29kZWhhdXMvZ3Jvb3Z5L3RyYW5zZm9ybS9EZWxlZ2F0ZUFTVFRyYW5zZm9ybWF0aW9uLmphdmE=) | `87.5000% <100.0000%> (+0.2572%)` | :arrow_up: | | [...va/org/codehaus/groovy/ast/tools/GeneralUtils.java](https://app.codecov.io/gh/apache/groovy/pull/2279?src=pr&el=tree&filepath=src%2Fmain%2Fjava%2Forg%2Fcodehaus%2Fgroovy%2Fast%2Ftools%2FGeneralUtils.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3JjL21haW4vamF2YS9vcmcvY29kZWhhdXMvZ3Jvb3Z5L2FzdC90b29scy9HZW5lcmFsVXRpbHMuamF2YQ==) | `85.8469% <88.8889%> (-0.0686%)` | :arrow_down: | ... and [3 files with indirect coverage changes](https://app.codecov.io/gh/apache/groovy/pull/2279/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) </details> <details><summary> :rocket: New features to boost your workflow: </summary> - :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems. - :package: [JS Bundle Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save yourself from yourself by tracking and limiting bundle sizes in JS merges. </details> > Compile error in Groovy 5 > ------------------------- > > Key: GROOVY-11736 > URL: https://issues.apache.org/jira/browse/GROOVY-11736 > Project: Groovy > Issue Type: Bug > Affects Versions: 5.0.0-rc-1 > Reporter: Mattias Reichel > Assignee: Eric Milles > Priority: Major > > This class hierarchy compiles successfully with Groovy 4.0.28. > (It is used in the Grails codebase) > {code:java} > class A implements Collection { > @Delegate Collection target > A(Collection target) { > this.target = target > } > } > class B extends A implements Set { > @Delegate Set target > B(Set target) { > super(target) > this.target = target > } > }{code} > In Groovy 5.0.0-rc-1 it fails to compile with the following error message: > {code:java} > 10: The interface Collection cannot be implemented more than once with > different arguments: java.util.Collection<java.lang.Object> and > java.util.Collection > . At [10:1] @ line 10, column 1. > class B extends A implements Set { > ^1 error{code} -- This message was sent by Atlassian Jira (v8.20.10#820010)