[
https://issues.apache.org/jira/browse/GROOVY-11617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18133836#comment-18133836
]
ASF GitHub Bot commented on GROOVY-11617:
-----------------------------------------
codecov-commenter commented on PR #3072:
URL: https://github.com/apache/groovy/pull/3072#issuecomment-6480506313
##
[Codecov](https://app.codecov.io/gh/apache/groovy/pull/3072?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 73.6067%. Comparing base
([`cfd9b2f`](https://app.codecov.io/gh/apache/groovy/commit/cfd9b2f0222a8e1a74473f7c5b2cb45b5bdd3b5b?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache))
to head
([`cd755f5`](https://app.codecov.io/gh/apache/groovy/commit/cd755f5b8debb89950eaa9a9ce7d1a425799625d?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
:warning: Report is 7 commits behind head on master.
<details><summary>Additional details and impacted files</summary>
[](https://app.codecov.io/gh/apache/groovy/pull/3072?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
```diff
@@ Coverage Diff @@
## master #3072 +/- ##
==================================================
+ Coverage 73.6047% 73.6067% +0.0020%
- Complexity 42348 42357 +9
==================================================
Files 1657 1657
Lines 145708 145715 +7
Branches 27498 27499 +1
==================================================
+ Hits 107248 107256 +8
Misses 28479 28479
+ Partials 9981 9980 -1
```
| [Files with missing
lines](https://app.codecov.io/gh/apache/groovy/pull/3072?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
| Coverage Δ | |
|---|---|---|
|
[...va/org/apache/groovy/parser/antlr4/AstBuilder.java](https://app.codecov.io/gh/apache/groovy/pull/3072?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.1413% <100.0000%> (+0.0144%)` | :arrow_up: |
... and [12 files with indirect coverage
changes](https://app.codecov.io/gh/apache/groovy/pull/3072/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>
> switch without break or other statement for the last case
> ---------------------------------------------------------
>
> Key: GROOVY-11617
> URL: https://issues.apache.org/jira/browse/GROOVY-11617
> Project: Groovy
> Issue Type: Bug
> Components: parser-antlr4
> Reporter: Eric Milles
> Assignee: Daniel Sun
> Priority: Major
>
> A switch statement without a break or other statement for the last case fails
> to parse:
> {code:groovy}
> switch (xxx) {
> case yyy:
> }
> {code}
> The same happens for "default:" instead of "case yyy:". (It also happens for
> switch expressions without the expression "case zzz ->" but that is probably
> acceptable.)
> Adding ";" or "break" or any other statement after the case parses fine.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)