[
https://issues.apache.org/jira/browse/GROOVY-12475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18131198#comment-18131198
] ASF GitHub Bot commented on GROOVY-12475: ----------------------------------------- codecov-commenter commented on PR #3018: URL: https://github.com/apache/groovy/pull/3018#issuecomment-6375921501 ## [Codecov](https://app.codecov.io/gh/apache/groovy/pull/3018?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report :x: Patch coverage is `70.00000%` with `3 lines` in your changes missing coverage. Please review. :white_check_mark: Project coverage is 72.4924%. Comparing base ([`b4ebbe0`](https://app.codecov.io/gh/apache/groovy/commit/b4ebbe0a9123470f3e7d784d6b9f7ca9117deb38?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`01d09bd`](https://app.codecov.io/gh/apache/groovy/commit/01d09bd5e0193a5b9103dbe624d91765a6271edf?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)). :warning: Report is 8 commits behind head on master. | [Files with missing lines](https://app.codecov.io/gh/apache/groovy/pull/3018?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Patch % | Lines | |---|---|---| | [...va/org/apache/groovy/parser/antlr4/AstBuilder.java](https://app.codecov.io/gh/apache/groovy/pull/3018?src=pr&el=tree&filepath=src%2Fmain%2Fjava%2Forg%2Fapache%2Fgroovy%2Fparser%2Fantlr4%2FAstBuilder.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3JjL21haW4vamF2YS9vcmcvYXBhY2hlL2dyb292eS9wYXJzZXIvYW50bHI0L0FzdEJ1aWxkZXIuamF2YQ==) | 25.0000% | [0 Missing and 3 partials :warning: ](https://app.codecov.io/gh/apache/groovy/pull/3018?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/3018?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) ```diff @@ Coverage Diff @@ ## master #3018 +/- ## ================================================== + Coverage 72.4652% 72.4924% +0.0272% - Complexity 40724 40753 +29 ================================================== Files 1644 1644 Lines 143008 143033 +25 Branches 26895 26900 +5 ================================================== + Hits 103631 103688 +57 + Misses 29824 29800 -24 + Partials 9553 9545 -8 ``` | [Files with missing lines](https://app.codecov.io/gh/apache/groovy/pull/3018?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | | |---|---|---| | [...roovy/transform/PackageScopeASTTransformation.java](https://app.codecov.io/gh/apache/groovy/pull/3018?src=pr&el=tree&filepath=src%2Fmain%2Fjava%2Forg%2Fcodehaus%2Fgroovy%2Ftransform%2FPackageScopeASTTransformation.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3JjL21haW4vamF2YS9vcmcvY29kZWhhdXMvZ3Jvb3Z5L3RyYW5zZm9ybS9QYWNrYWdlU2NvcGVBU1RUcmFuc2Zvcm1hdGlvbi5qYXZh) | `82.2034% <100.0000%> (+10.8990%)` | :arrow_up: | | [...va/org/apache/groovy/parser/antlr4/AstBuilder.java](https://app.codecov.io/gh/apache/groovy/pull/3018?src=pr&el=tree&filepath=src%2Fmain%2Fjava%2Forg%2Fapache%2Fgroovy%2Fparser%2Fantlr4%2FAstBuilder.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3JjL21haW4vamF2YS9vcmcvYXBhY2hlL2dyb292eS9wYXJzZXIvYW50bHI0L0FzdEJ1aWxkZXIuamF2YQ==) | `87.1269% <25.0000%> (+0.0144%)` | :arrow_up: | ... and [12 files with indirect coverage changes](https://app.codecov.io/gh/apache/groovy/pull/3018/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> > split property definition and PackageScope transform > ---------------------------------------------------- > > Key: GROOVY-12475 > URL: https://issues.apache.org/jira/browse/GROOVY-12475 > Project: Groovy > Issue Type: Bug > Components: Compiler > Affects Versions: 4.0.33, 5.1.3, 6.0.0 > Reporter: Eric Milles > Priority: Major > > Consider the following: > {code:groovy} > class C { > def foo = 'bar' > @groovy.transform.PackageScope Object foo > } > println new C().foo > println new C().@foo > println new C().getFoo() > {code} > Fails with "The field 'foo' is declared multiple times." And if I move "= > 'bar'" to the field, I instead get "The split property definition named 'foo' > must not have an initial value for both the field and the property." -- This message was sent by Atlassian Jira (v10.3.26#10030026)
