[ https://issues.apache.org/jira/browse/GROOVY-11694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17956637#comment-17956637 ]
ASF GitHub Bot commented on GROOVY-11694: ----------------------------------------- codecov-commenter commented on PR #2251: URL: https://github.com/apache/groovy/pull/2251#issuecomment-2949805508 ## [Codecov](https://app.codecov.io/gh/apache/groovy/pull/2251?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report Attention: Patch coverage is `86.66667%` with `2 lines` in your changes missing coverage. Please review. > Project coverage is 69.0462%. Comparing base [(`49e1ce3`)](https://app.codecov.io/gh/apache/groovy/commit/49e1ce3f9c69fa4e63fb0caa00787663afab54c0?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) to head [(`91cc6d2`)](https://app.codecov.io/gh/apache/groovy/commit/91cc6d2d8de311733c3145d9676c38f17dbd884e?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache). | [Files with missing lines](https://app.codecov.io/gh/apache/groovy/pull/2251?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Patch % | Lines | |---|---|---| | [...groovy/classgen/asm/sc/StaticInvocationWriter.java](https://app.codecov.io/gh/apache/groovy/pull/2251?src=pr&el=tree&filepath=src%2Fmain%2Fjava%2Forg%2Fcodehaus%2Fgroovy%2Fclassgen%2Fasm%2Fsc%2FStaticInvocationWriter.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3JjL21haW4vamF2YS9vcmcvY29kZWhhdXMvZ3Jvb3Z5L2NsYXNzZ2VuL2FzbS9zYy9TdGF0aWNJbnZvY2F0aW9uV3JpdGVyLmphdmE=) | 75.0000% | [0 Missing and 2 partials :warning: ](https://app.codecov.io/gh/apache/groovy/pull/2251?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/2251?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) ```diff @@ Coverage Diff @@ ## master #2251 +/- ## ================================================== + Coverage 69.0411% 69.0462% +0.0051% - Complexity 29711 29715 +4 ================================================== Files 1423 1423 Lines 114413 114419 +6 Branches 19844 19845 +1 ================================================== + Hits 78992 79002 +10 Misses 28786 28786 + Partials 6635 6631 -4 ``` | [Files with missing lines](https://app.codecov.io/gh/apache/groovy/pull/2251?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | | |---|---|---| | [...formers/StaticMethodCallExpressionTransformer.java](https://app.codecov.io/gh/apache/groovy/pull/2251?src=pr&el=tree&filepath=src%2Fmain%2Fjava%2Forg%2Fcodehaus%2Fgroovy%2Ftransform%2Fsc%2Ftransformers%2FStaticMethodCallExpressionTransformer.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3JjL21haW4vamF2YS9vcmcvY29kZWhhdXMvZ3Jvb3Z5L3RyYW5zZm9ybS9zYy90cmFuc2Zvcm1lcnMvU3RhdGljTWV0aG9kQ2FsbEV4cHJlc3Npb25UcmFuc2Zvcm1lci5qYXZh) | `100.0000% <100.0000%> (ø)` | | | [...groovy/classgen/asm/sc/StaticInvocationWriter.java](https://app.codecov.io/gh/apache/groovy/pull/2251?src=pr&el=tree&filepath=src%2Fmain%2Fjava%2Forg%2Fcodehaus%2Fgroovy%2Fclassgen%2Fasm%2Fsc%2FStaticInvocationWriter.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3JjL21haW4vamF2YS9vcmcvY29kZWhhdXMvZ3Jvb3Z5L2NsYXNzZ2VuL2FzbS9zYy9TdGF0aWNJbnZvY2F0aW9uV3JpdGVyLmphdmE=) | `75.0000% <75.0000%> (+0.1269%)` | :arrow_up: | ... and [4 files with indirect coverage changes](https://app.codecov.io/gh/apache/groovy/pull/2251/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> > SC: implicit-this call to static method of super class from another package > --------------------------------------------------------------------------- > > Key: GROOVY-11694 > URL: https://issues.apache.org/jira/browse/GROOVY-11694 > Project: Groovy > Issue Type: Bug > Components: Static compilation > Affects Versions: 5.0.0-beta-1 > Reporter: Eric Milles > Assignee: Eric Milles > Priority: Major > > Consider the following: > {code:groovy} > package p > abstract class A { > protected static pm() { > } > } > {code} > {code:groovy} > package q > @groovy.transform.CompileStatic > class C extends p.A { > void test() { > pm() > } > } > {code} > Compiler emits error: "Cannot access method: pm() of class: p.A" -- This message was sent by Atlassian Jira (v8.20.10#820010)