[ https://issues.apache.org/jira/browse/GROOVY-11743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18016352#comment-18016352 ]
ASF GitHub Bot commented on GROOVY-11743: ----------------------------------------- codecov-commenter commented on PR #2282: URL: https://github.com/apache/groovy/pull/2282#issuecomment-3224975297 ## [Codecov](https://app.codecov.io/gh/apache/groovy/pull/2282?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 66.9977%. Comparing base ([`44f98d7`](https://app.codecov.io/gh/apache/groovy/commit/44f98d76fcfc9af130b4ab8b0b85a3b8d1119c9b?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`a7bab8b`](https://app.codecov.io/gh/apache/groovy/commit/a7bab8bba9dab95bc19d44ea9fcbdfa847979ae2?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/2282?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) ```diff @@ Coverage Diff @@ ## master #2282 +/- ## ================================================== - Coverage 67.0060% 66.9977% -0.0083% + Complexity 29275 29274 -1 ================================================== Files 1382 1382 Lines 116512 116516 +4 Branches 20393 20397 +4 ================================================== - Hits 78070 78063 -7 - Misses 32034 32041 +7 - Partials 6408 6412 +4 ``` | [Files with missing lines](https://app.codecov.io/gh/apache/groovy/pull/2282?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | | |---|---|---| | [...aus/groovy/transform/ASTTransformationVisitor.java](https://app.codecov.io/gh/apache/groovy/pull/2282?src=pr&el=tree&filepath=src%2Fmain%2Fjava%2Forg%2Fcodehaus%2Fgroovy%2Ftransform%2FASTTransformationVisitor.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3JjL21haW4vamF2YS9vcmcvY29kZWhhdXMvZ3Jvb3Z5L3RyYW5zZm9ybS9BU1RUcmFuc2Zvcm1hdGlvblZpc2l0b3IuamF2YQ==) | `81.8182% <100.0000%> (ø)` | | | [...oovy/transform/trait/TraitReceiverTransformer.java](https://app.codecov.io/gh/apache/groovy/pull/2282?src=pr&el=tree&filepath=src%2Fmain%2Fjava%2Forg%2Fcodehaus%2Fgroovy%2Ftransform%2Ftrait%2FTraitReceiverTransformer.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3JjL21haW4vamF2YS9vcmcvY29kZWhhdXMvZ3Jvb3Z5L3RyYW5zZm9ybS90cmFpdC9UcmFpdFJlY2VpdmVyVHJhbnNmb3JtZXIuamF2YQ==) | `89.7297% <100.0000%> (+0.1122%)` | :arrow_up: | | [...va/org/codehaus/groovy/transform/trait/Traits.java](https://app.codecov.io/gh/apache/groovy/pull/2282?src=pr&el=tree&filepath=src%2Fmain%2Fjava%2Forg%2Fcodehaus%2Fgroovy%2Ftransform%2Ftrait%2FTraits.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3JjL21haW4vamF2YS9vcmcvY29kZWhhdXMvZ3Jvb3Z5L3RyYW5zZm9ybS90cmFpdC9UcmFpdHMuamF2YQ==) | `85.6000% <100.0000%> (+0.2341%)` | :arrow_up: | ... and [3 files with indirect coverage changes](https://app.codecov.io/gh/apache/groovy/pull/2282/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> > Groovy 5 BUG! exception in phase 'semantic analysis' > ---------------------------------------------------- > > Key: GROOVY-11743 > URL: https://issues.apache.org/jira/browse/GROOVY-11743 > Project: Groovy > Issue Type: Bug > Affects Versions: 5.0.0 > Reporter: Mattias Reichel > Assignee: Eric Milles > Priority: Major > > This code snippet compiles successfully with Groovy 4.0.28 > {code:java} > trait GormEntity<D> implements GormEntityApi<D> { > @Override > D save() { > println 'Save called' > } > } > trait GormEntityApi<D> { > abstract D save() > } > println 'done'{code} > However, with Groovy 5.0.0 I'm getting this error: > {code:java} > Caught: BUG! exception in phase 'semantic analysis' in source unit > '/mnt/c/Users/matti/Projects/github/grails-core/test.groovy' > ClassNode#getTypeClass for GormEntityApi called before the type class is set > BUG! exception in phase 'semantic analysis' in source unit > '/mnt/c/Users/matti/Projects/github/grails-core/test.groovy' > ClassNode#getTypeClass for GormEntityApi called before the type class is set > {code} > -- This message was sent by Atlassian Jira (v8.20.10#820010)