[
https://issues.apache.org/jira/browse/GROOVY-12066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18086828#comment-18086828
] ASF GitHub Bot commented on GROOVY-12066: ----------------------------------------- codecov-commenter commented on PR #2594: URL: https://github.com/apache/groovy/pull/2594#issuecomment-4644886857 ## [Codecov](https://app.codecov.io/gh/apache/groovy/pull/2594?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 `75.00000%` with `1 line` in your changes missing coverage. Please review. :white_check_mark: Project coverage is 68.3103%. Comparing base ([`c92ba5f`](https://app.codecov.io/gh/apache/groovy/commit/c92ba5fc82d411849e2b621df0ed43baca712433?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`cc89667`](https://app.codecov.io/gh/apache/groovy/commit/cc89667162b63cf0f09d3a86e7f0c104d14759cb?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)). :warning: Report is 1 commits behind head on master. | [Files with missing lines](https://app.codecov.io/gh/apache/groovy/pull/2594?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Patch % | Lines | |---|---|---| | [...vy/contracts/generation/PreconditionGenerator.java](https://app.codecov.io/gh/apache/groovy/pull/2594?src=pr&el=tree&filepath=subprojects%2Fgroovy-contracts%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fgroovy%2Fcontracts%2Fgeneration%2FPreconditionGenerator.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3VicHJvamVjdHMvZ3Jvb3Z5LWNvbnRyYWN0cy9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvZ3Jvb3Z5L2NvbnRyYWN0cy9nZW5lcmF0aW9uL1ByZWNvbmRpdGlvbkdlbmVyYXRvci5qYXZh) | 0.0000% | [0 Missing and 1 partial :warning: ](https://app.codecov.io/gh/apache/groovy/pull/2594?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/2594?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) ```diff @@ Coverage Diff @@ ## master #2594 +/- ## ================================================== + Coverage 68.3072% 68.3103% +0.0031% - Complexity 33391 33396 +5 ================================================== Files 1518 1518 Lines 126871 126874 +3 Branches 23000 23002 +2 ================================================== + Hits 86662 86668 +6 + Misses 32526 32523 -3 Partials 7683 7683 ``` | [Files with missing lines](https://app.codecov.io/gh/apache/groovy/pull/2594?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | | |---|---|---| | [.../contracts/generation/ClassInvariantGenerator.java](https://app.codecov.io/gh/apache/groovy/pull/2594?src=pr&el=tree&filepath=subprojects%2Fgroovy-contracts%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fgroovy%2Fcontracts%2Fgeneration%2FClassInvariantGenerator.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3VicHJvamVjdHMvZ3Jvb3Z5LWNvbnRyYWN0cy9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvZ3Jvb3Z5L2NvbnRyYWN0cy9nZW5lcmF0aW9uL0NsYXNzSW52YXJpYW50R2VuZXJhdG9yLmphdmE=) | `93.7500% <100.0000%> (+0.4167%)` | :arrow_up: | | [...vy/contracts/generation/PreconditionGenerator.java](https://app.codecov.io/gh/apache/groovy/pull/2594?src=pr&el=tree&filepath=subprojects%2Fgroovy-contracts%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fgroovy%2Fcontracts%2Fgeneration%2FPreconditionGenerator.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3VicHJvamVjdHMvZ3Jvb3Z5LWNvbnRyYWN0cy9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvZ3Jvb3Z5L2NvbnRyYWN0cy9nZW5lcmF0aW9uL1ByZWNvbmRpdGlvbkdlbmVyYXRvci5qYXZh) | `77.4194% <0.0000%> (-2.5807%)` | :arrow_down: | ... and [7 files with indirect coverage changes](https://app.codecov.io/gh/apache/groovy/pull/2594/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> > @Invariant on a static nested class without an explicit constructor fails > compilation with "BUG! exception in 'instruction selection' ... statement is > null > ----------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: GROOVY-12066 > URL: https://issues.apache.org/jira/browse/GROOVY-12066 > Project: Groovy > Issue Type: Bug > Components: groovy-contracts > Reporter: Paul King > Assignee: Paul King > Priority: Major > > {code:groovy} > import groovy.contracts.Invariant > class Outer { > @Invariant({ value >= 0 }) > static class Inner { int value = 1 } > } > new Outer.Inner() > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)
