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

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

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

   ## 
[Codecov](https://app.codecov.io/gh/apache/groovy/pull/2206?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 68.9591%. Comparing base 
[(`a57357e`)](https://app.codecov.io/gh/apache/groovy/commit/a57357e9a4b13dea7da8917005271799b0e0ec67?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
 to head 
[(`491c5e7`)](https://app.codecov.io/gh/apache/groovy/commit/491c5e7a0d62a60821c3ef1006dd8c9323809990?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/2206/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/2206?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
   
   ```diff
   @@                Coverage Diff                 @@
   ##               master      #2206        +/-   ##
   ==================================================
   + Coverage     68.9394%   68.9591%   +0.0197%     
   - Complexity      29566      29575         +9     
   ==================================================
     Files            1423       1423                
     Lines          113916     113924         +8     
     Branches        19761      19763         +2     
   ==================================================
   + Hits            78533      78561        +28     
   + Misses          28780      28763        -17     
   + Partials         6603       6600         -3     
   ```
   
   | [Files with missing 
lines](https://app.codecov.io/gh/apache/groovy/pull/2206?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
 | Coverage Δ | |
   |---|---|---|
   | 
[src/main/java/groovy/lang/MetaClassImpl.java](https://app.codecov.io/gh/apache/groovy/pull/2206?src=pr&el=tree&filepath=src%2Fmain%2Fjava%2Fgroovy%2Flang%2FMetaClassImpl.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3JjL21haW4vamF2YS9ncm9vdnkvbGFuZy9NZXRhQ2xhc3NJbXBsLmphdmE=)
 | `78.2920% <100.0000%> (+0.0841%)` | :arrow_up: |
   | 
[...oovy/transform/trait/TraitReceiverTransformer.java](https://app.codecov.io/gh/apache/groovy/pull/2206?src=pr&el=tree&filepath=src%2Fmain%2Fjava%2Forg%2Fcodehaus%2Fgroovy%2Ftransform%2Ftrait%2FTraitReceiverTransformer.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3JjL21haW4vamF2YS9vcmcvY29kZWhhdXMvZ3Jvb3Z5L3RyYW5zZm9ybS90cmFpdC9UcmFpdFJlY2VpdmVyVHJhbnNmb3JtZXIuamF2YQ==)
 | `89.6739% <100.0000%> (+0.0564%)` | :arrow_up: |
   | 
[...va/org/codehaus/groovy/transform/trait/Traits.java](https://app.codecov.io/gh/apache/groovy/pull/2206?src=pr&el=tree&filepath=src%2Fmain%2Fjava%2Forg%2Fcodehaus%2Fgroovy%2Ftransform%2Ftrait%2FTraits.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3JjL21haW4vamF2YS9vcmcvY29kZWhhdXMvZ3Jvb3Z5L3RyYW5zZm9ybS90cmFpdC9UcmFpdHMuamF2YQ==)
 | `83.7398% <ø> (ø)` | |
   | 
[...java/org/codehaus/groovy/vmplugin/v8/Selector.java](https://app.codecov.io/gh/apache/groovy/pull/2206?src=pr&el=tree&filepath=src%2Fmain%2Fjava%2Forg%2Fcodehaus%2Fgroovy%2Fvmplugin%2Fv8%2FSelector.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3JjL21haW4vamF2YS9vcmcvY29kZWhhdXMvZ3Jvb3Z5L3ZtcGx1Z2luL3Y4L1NlbGVjdG9yLmphdmE=)
 | `82.1285% <100.0000%> (ø)` | |
   
   ... and [4 files with indirect coverage 
changes](https://app.codecov.io/gh/apache/groovy/pull/2206/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>




> trait extends trait and uses static field in static method
> ----------------------------------------------------------
>
>                 Key: GROOVY-11641
>                 URL: https://issues.apache.org/jira/browse/GROOVY-11641
>             Project: Groovy
>          Issue Type: Bug
>            Reporter: Eric Milles
>            Assignee: Eric Milles
>            Priority: Minor
>
> Consider the following:
> {code:groovy}
>             trait Foo {
>                 public static final String BANG = '!'
>             }
>             trait Bar extends Foo {
>                 static staticMethod(String string) {
>                     string + BANG
>                 }
>             }
>             class Main implements Bar {
>                 static test1() {
>                     String result = staticMethod('works')
>                     assert result == 'works!'
>                 }
>                 void test2() {
>                     String result = staticMethod('works')
>                     assert result == 'works!'
>                 }
>             }
>             Main.test1()
>             new Main().test2()
> {code}



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

Reply via email to