[ https://issues.apache.org/jira/browse/GROOVY-11676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17953786#comment-17953786 ]
ASF GitHub Bot commented on GROOVY-11676: ----------------------------------------- codecov-commenter commented on PR #2232: URL: https://github.com/apache/groovy/pull/2232#issuecomment-2906264797 ## [Codecov](https://app.codecov.io/gh/apache/groovy/pull/2232?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 `84.61538%` with `2 lines` in your changes missing coverage. Please review. > Project coverage is 69.0387%. Comparing base [(`9364652`)](https://app.codecov.io/gh/apache/groovy/commit/9364652e96aeaff0007a21ecda5f953f443c38a6?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) to head [(`2f0a6fe`)](https://app.codecov.io/gh/apache/groovy/commit/2f0a6feb8ecee496f47a010d1832d5b0421a4a5f?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache). > Report is 1 commits behind head on master. | [Files with missing lines](https://app.codecov.io/gh/apache/groovy/pull/2232?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Patch % | Lines | |---|---|---| | [src/main/java/groovy/lang/MetaClassImpl.java](https://app.codecov.io/gh/apache/groovy/pull/2232?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=) | 80.0000% | [1 Missing :warning: ](https://app.codecov.io/gh/apache/groovy/pull/2232?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | | [.../main/java/groovy/lang/MissingMethodException.java](https://app.codecov.io/gh/apache/groovy/pull/2232?src=pr&el=tree&filepath=src%2Fmain%2Fjava%2Fgroovy%2Flang%2FMissingMethodException.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3JjL21haW4vamF2YS9ncm9vdnkvbGFuZy9NaXNzaW5nTWV0aG9kRXhjZXB0aW9uLmphdmE=) | 87.5000% | [0 Missing and 1 partial :warning: ](https://app.codecov.io/gh/apache/groovy/pull/2232?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/2232?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) ```diff @@ Coverage Diff @@ ## master #2232 +/- ## ================================================== - Coverage 69.0421% 69.0387% -0.0033% + Complexity 29705 29702 -3 ================================================== Files 1423 1423 Lines 114394 114401 +7 Branches 19849 19849 ================================================== + Hits 78980 78981 +1 - Misses 28781 28786 +5 - Partials 6633 6634 +1 ``` | [Files with missing lines](https://app.codecov.io/gh/apache/groovy/pull/2232?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/2232?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.3113% <80.0000%> (+0.0480%)` | :arrow_up: | | [.../main/java/groovy/lang/MissingMethodException.java](https://app.codecov.io/gh/apache/groovy/pull/2232?src=pr&el=tree&filepath=src%2Fmain%2Fjava%2Fgroovy%2Flang%2FMissingMethodException.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3JjL21haW4vamF2YS9ncm9vdnkvbGFuZy9NaXNzaW5nTWV0aG9kRXhjZXB0aW9uLmphdmE=) | `90.4762% <87.5000%> (+1.5873%)` | :arrow_up: | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/apache/groovy/pull/2232/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> > Method reference using class name results in bogus error message > ---------------------------------------------------------------- > > Key: GROOVY-11676 > URL: https://issues.apache.org/jira/browse/GROOVY-11676 > Project: Groovy > Issue Type: Bug > Affects Versions: 4.0.26 > Reporter: Christopher Smith > Assignee: Eric Milles > Priority: Minor > > I am writing a processing pipeline using {{with}} as a map-step. Since > {{with}} still does not accept {{{}Function{}}}, I am using method > references. I had a functional pipeline like this: > {code:groovy} > gremlin.V() /* stuff */ > .with(Queries.&whoamiTraversal) > .with(Queries.&processTraversal) > {code} > This worked correctly when the methods were static. However, I changed > {{processTraversal}} to be a non-static method, and I should have changed the > invocation to {{this.&processTraversal}}. Instead, the STC did not complain, > and I received a runtime error > {code} > groovy.lang.MissingMethodException: No signature of method: > org.codehaus.groovy.runtime.MethodClosure.processTraversal() is applicable > for argument types: ... > {code} > Instead of pointing at {{MethodClosure}}, the error message should indicate > where the actual problem is. -- This message was sent by Atlassian Jira (v8.20.10#820010)