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

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

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

   ## 
[Codecov](https://app.codecov.io/gh/apache/groovy/pull/2218?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.9790%. Comparing base 
[(`0c82aee`)](https://app.codecov.io/gh/apache/groovy/commit/0c82aee07936eaf21d7c80f1f8593a55e445d4d1?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
 to head 
[(`a1e0e11`)](https://app.codecov.io/gh/apache/groovy/commit/a1e0e1156d007e8dfce0ae38a39cba7965377138?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/2218/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/2218?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
   
   ```diff
   @@                Coverage Diff                 @@
   ##               master      #2218        +/-   ##
   ==================================================
   - Coverage     68.9981%   68.9790%   -0.0191%     
   + Complexity      29632      29621        -11     
   ==================================================
     Files            1423       1423                
     Lines          114222     114213         -9     
     Branches        19811      19809         -2     
   ==================================================
   - Hits            78811      78783        -28     
   - Misses          28795      28810        +15     
   - Partials         6616       6620         +4     
   ```
   
   | [Files with missing 
lines](https://app.codecov.io/gh/apache/groovy/pull/2218?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/2218?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.2441% <ø> (-0.0718%)` | :arrow_down: |
   | 
[...sc/transformers/PropertyExpressionTransformer.java](https://app.codecov.io/gh/apache/groovy/pull/2218?src=pr&el=tree&filepath=src%2Fmain%2Fjava%2Forg%2Fcodehaus%2Fgroovy%2Ftransform%2Fsc%2Ftransformers%2FPropertyExpressionTransformer.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3JjL21haW4vamF2YS9vcmcvY29kZWhhdXMvZ3Jvb3Z5L3RyYW5zZm9ybS9zYy90cmFuc2Zvcm1lcnMvUHJvcGVydHlFeHByZXNzaW9uVHJhbnNmb3JtZXIuamF2YQ==)
 | `100.0000% <ø> (ø)` | |
   | 
[...oovy/transform/trait/TraitReceiverTransformer.java](https://app.codecov.io/gh/apache/groovy/pull/2218?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.6175% <ø> (-0.0564%)` | :arrow_down: |
   
   ... and [4 files with indirect coverage 
changes](https://app.codecov.io/gh/apache/groovy/pull/2218/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
>             Fix For: 5.0.0-alpha-13
>
>
> 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