[ 
https://issues.apache.org/jira/browse/GROOVY-11707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18003848#comment-18003848
 ] 

ASF GitHub Bot commented on GROOVY-11707:
-----------------------------------------

codecov-commenter commented on PR #2261:
URL: https://github.com/apache/groovy/pull/2261#issuecomment-3049516438

   ## 
[Codecov](https://app.codecov.io/gh/apache/groovy/pull/2261?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
 Report
   All modified and coverable lines are covered by tests :white_check_mark:
   > Project coverage is 69.0455%. Comparing base 
[(`6ebd888`)](https://app.codecov.io/gh/apache/groovy/commit/6ebd888f76a077c85294e6e01b6e2479dfc809cb?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
 to head 
[(`46be77c`)](https://app.codecov.io/gh/apache/groovy/commit/46be77c58e7288f4aafd56d54940ca9fe5480cac?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
   
   <details><summary>Additional details and impacted files</summary>
   
   
   [![Impacted file tree 
graph](https://app.codecov.io/gh/apache/groovy/pull/2261/graphs/tree.svg?width=650&height=150&src=pr&token=1r45138NfQ&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)](https://app.codecov.io/gh/apache/groovy/pull/2261?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
   
   ```diff
   @@                Coverage Diff                 @@
   ##               master      #2261        +/-   ##
   ==================================================
   - Coverage     69.0494%   69.0455%   -0.0038%     
   + Complexity      29770      29765         -5     
   ==================================================
     Files            1423       1423                
     Lines          114437     114439         +2     
     Branches        19837      19838         +1     
   ==================================================
   - Hits            79018      79015         -3     
   - Misses          28775      28782         +7     
   + Partials         6644       6642         -2     
   ```
   
   | [Files with missing 
lines](https://app.codecov.io/gh/apache/groovy/pull/2261?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
 | Coverage Δ | |
   |---|---|---|
   | 
[...va/org/codehaus/groovy/ast/tools/GeneralUtils.java](https://app.codecov.io/gh/apache/groovy/pull/2261?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.9155% <100.0000%> (+0.0664%)` | :arrow_up: |
   
   ... and [6 files with indirect coverage 
changes](https://app.codecov.io/gh/apache/groovy/pull/2261/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>




> Inherting the same Generic Interface at different levels in an inheritance 
> hierachy causes error
> ------------------------------------------------------------------------------------------------
>
>                 Key: GROOVY-11707
>                 URL: https://issues.apache.org/jira/browse/GROOVY-11707
>             Project: Groovy
>          Issue Type: Bug
>          Components: Compiler
>    Affects Versions: 5.0.0-beta-1
>            Reporter: Saravanan
>            Assignee: Eric Milles
>            Priority: Minor
>
> {code:java}
> public class Testing {
>     interface TopLevel extends Comparable {
>         void blah();
>     }
>     interface NextLevel extends TopLevel, Comparable {
>     }
> } {code}
> Compiling this with @CompileStatic enabled results in this error
> {code:java}
> org.codehaus.groovy.control.MultipleCompilationErrorsException: startup 
> failed:
> testdata/plugins/records/RecordTesting.java: 10: The interface Comparable 
> cannot be implemented more than once with different arguments: 
> java.lang.Comparable<java.lang.Object> and java.lang.Comparable
> . At [10:5]  @ line 10, column 5.
>        interface NextLevel extends TopLevel, Comparable {
>        ^ {code}
> Not sure if this is expected behaviour. The error goes away if I extend 
> Comparable<Object>



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to