[
https://issues.apache.org/jira/browse/GROOVY-12304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18131160#comment-18131160
] ASF GitHub Bot commented on GROOVY-12304: ----------------------------------------- codecov-commenter commented on PR #3017: URL: https://github.com/apache/groovy/pull/3017#issuecomment-6374415303 ## [Codecov](https://app.codecov.io/gh/apache/groovy/pull/3017?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 72.4378%. Comparing base ([`fa53afa`](https://app.codecov.io/gh/apache/groovy/commit/fa53afab4ff811b7ed93560300cd626d0374842e?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`4d0c829`](https://app.codecov.io/gh/apache/groovy/commit/4d0c8299915ad8841aa1a093877540205b25c1bc?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)). :warning: Report is 9 commits behind head on master. <details><summary>Additional details and impacted files</summary> [](https://app.codecov.io/gh/apache/groovy/pull/3017?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) ```diff @@ Coverage Diff @@ ## master #3017 +/- ## ================================================== - Coverage 72.4452% 72.4378% -0.0074% + Complexity 40687 40685 -2 ================================================== Files 1644 1644 Lines 142897 142902 +5 Branches 26877 26879 +2 ================================================== - Hits 103522 103515 -7 - Misses 29820 29829 +9 - Partials 9555 9558 +3 ``` | [Files with missing lines](https://app.codecov.io/gh/apache/groovy/pull/3017?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/stc/StaticTypeCheckingVisitor.java](https://app.codecov.io/gh/apache/groovy/pull/3017?src=pr&el=tree&filepath=src%2Fmain%2Fjava%2Forg%2Fcodehaus%2Fgroovy%2Ftransform%2Fstc%2FStaticTypeCheckingVisitor.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3JjL21haW4vamF2YS9vcmcvY29kZWhhdXMvZ3Jvb3Z5L3RyYW5zZm9ybS9zdGMvU3RhdGljVHlwZUNoZWNraW5nVmlzaXRvci5qYXZh) | `87.0915% <100.0000%> (+0.0150%)` | :arrow_up: | ... and [9 files with indirect coverage changes](https://app.codecov.io/gh/apache/groovy/pull/3017/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> > STC: Map access with dynamic key in dot-syntax does not compile > --------------------------------------------------------------- > > Key: GROOVY-12304 > URL: https://issues.apache.org/jira/browse/GROOVY-12304 > Project: Groovy > Issue Type: Bug > Affects Versions: 6.0.0-alpha-1, 5.0.3, 4.0.31 > Reporter: Björn Kautler > Priority: Major > > This does not compile: > {code:java} > @groovy.transform.CompileStatic > class Foo { > def foo(bar) { > println([a: 1]."a${''}") > } > } > new Foo().foo("foo") {code} > with square brackets syntax it compiles and works from Groovy 5 on. -- This message was sent by Atlassian Jira (v10.3.26#10030026)
