[
https://issues.apache.org/jira/browse/GROOVY-12456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18129543#comment-18129543
]
ASF GitHub Bot commented on GROOVY-12456:
-----------------------------------------
codecov-commenter commented on PR #3000:
URL: https://github.com/apache/groovy/pull/3000#issuecomment-6313508837
##
[Codecov](https://app.codecov.io/gh/apache/groovy/pull/3000?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 72.4285%. Comparing base
([`8778bce`](https://app.codecov.io/gh/apache/groovy/commit/8778bce1a0da05b5bffe27f02819262c849f9d56?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache))
to head
([`afdd62a`](https://app.codecov.io/gh/apache/groovy/commit/afdd62a98ad7c27619c4bc0622a2e31488aead42?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>
[](https://app.codecov.io/gh/apache/groovy/pull/3000?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
```diff
@@ Coverage Diff @@
## master #3000 +/- ##
==================================================
- Coverage 72.4290% 72.4285% -0.0005%
- Complexity 40622 40623 +1
==================================================
Files 1643 1643
Lines 142686 142687 +1
Branches 26799 26800 +1
==================================================
Hits 103346 103346
- Misses 29830 29833 +3
+ Partials 9510 9508 -2
```
| [Files with missing
lines](https://app.codecov.io/gh/apache/groovy/pull/3000?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
| Coverage Δ | |
|---|---|---|
|
[...rm/sc/transformers/ConstructorCallTransformer.java](https://app.codecov.io/gh/apache/groovy/pull/3000?src=pr&el=tree&filepath=src%2Fmain%2Fjava%2Forg%2Fcodehaus%2Fgroovy%2Ftransform%2Fsc%2Ftransformers%2FConstructorCallTransformer.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3JjL21haW4vamF2YS9vcmcvY29kZWhhdXMvZ3Jvb3Z5L3RyYW5zZm9ybS9zYy90cmFuc2Zvcm1lcnMvQ29uc3RydWN0b3JDYWxsVHJhbnNmb3JtZXIuamF2YQ==)
| `92.0000% <100.0000%> (+0.1081%)` | :arrow_up: |
... and [10 files with indirect coverage
changes](https://app.codecov.io/gh/apache/groovy/pull/3000/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>
> Regression in SC: Binding failed for arguments
> ----------------------------------------------
>
> Key: GROOVY-12456
> URL: https://issues.apache.org/jira/browse/GROOVY-12456
> Project: Groovy
> Issue Type: Bug
> Affects Versions: 5.0.3, 5.1.3, 6.0.0
> Reporter: Björn Kautler
> Priority: Major
>
> Given this snippet:
> {code:groovy}
> @groovy.transform.CompileStatic
> class Foo extends Specification {
> def foo() {
> expect:
> new Person(name: 'fred')
> }
> }
> class Person {
> def name
> }
> {code}
> If you run it in Groovy console, it works fine up to Groovy 4 and starts
> failing with Groovy 5 and newer with the message:
> {code}
> script.groovy: -1: Binding failed for arguments [java.lang.Object] and
> parameters [int, java.lang.Object] @ line -1, column -1. {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)