You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "eric-milles (via GitHub)" <gi...@apache.org> on 2025/01/26 22:12:54 UTC
[PR] GROOVY-11559: fix `addAllInterfaces` for `UnionTypeClassNode` [groovy]
eric-milles opened a new pull request, #2147:
URL: https://github.com/apache/groovy/pull/2147
In the multiple `instanceof` case, a `UnionTypeClassNode` is created. A call to `addAllInterfaces` triggers a call to `parameterizeType` with the union type as the hint and each of the `instanceof` types as the target. The walk type hierarchy should not be entered for a union type.
https://issues.apache.org/jira/browse/GROOVY-11559
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@groovy.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GROOVY-11559: fix `addAllInterfaces` for `UnionTypeClassNode` [groovy]
Posted by "eric-milles (via GitHub)" <gi...@apache.org>.
eric-milles merged PR #2147:
URL: https://github.com/apache/groovy/pull/2147
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@groovy.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GROOVY-11559: fix `addAllInterfaces` for `UnionTypeClassNode` [groovy]
Posted by "codecov-commenter (via GitHub)" <gi...@apache.org>.
codecov-commenter commented on PR #2147:
URL: https://github.com/apache/groovy/pull/2147#issuecomment-2614615351
## [Codecov](https://app.codecov.io/gh/apache/groovy/pull/2147?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
All modified and coverable lines are covered by tests :white_check_mark:
> Project coverage is 68.8314%. Comparing base [(`9acdef1`)](https://app.codecov.io/gh/apache/groovy/commit/9acdef1905409974299eb9f111bfc456758c6464?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) to head [(`a247964`)](https://app.codecov.io/gh/apache/groovy/commit/a2479641d9b9adcd9a3f5065710ac34871e0a7aa?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/2147?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
```diff
@@ Coverage Diff @@
## master #2147 +/- ##
==================================================
+ Coverage 68.8261% 68.8314% +0.0053%
- Complexity 29439 29445 +6
==================================================
Files 1420 1420
Lines 113162 113162
Branches 19549 19549
==================================================
+ Hits 77885 77891 +6
+ Misses 28739 28733 -6
Partials 6538 6538
```
| [Files with missing lines](https://app.codecov.io/gh/apache/groovy/pull/2147?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
|---|---|---|
| [...a/org/codehaus/groovy/ast/tools/GenericsUtils.java](https://app.codecov.io/gh/apache/groovy/pull/2147?src=pr&el=tree&filepath=src%2Fmain%2Fjava%2Forg%2Fcodehaus%2Fgroovy%2Fast%2Ftools%2FGenericsUtils.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3JjL21haW4vamF2YS9vcmcvY29kZWhhdXMvZ3Jvb3Z5L2FzdC90b29scy9HZW5lcmljc1V0aWxzLmphdmE=) | `67.1548% <100.0000%> (ø)` | |
... and [2 files with indirect coverage changes](https://app.codecov.io/gh/apache/groovy/pull/2147/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@groovy.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org