[jira] [Closed] (GROOVY-11625) Bump picocli to 4.7.7

2025-04-18 Thread Daniel Sun (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Sun closed GROOVY-11625. --- Fix Version/s: 5.0.0-alpha-13 4.0.27 Assignee: Daniel Sun Resolut

[jira] [Closed] (GROOVY-11626) Bump japicmp to 0.4.6

2025-04-18 Thread Daniel Sun (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Sun closed GROOVY-11626. --- Fix Version/s: 5.0.0-alpha-13 4.0.27 Assignee: Daniel Sun Resolut

[jira] [Commented] (GROOVY-11614) Enums in switch/case statements that are not fully qualified will cause a groovy compile error but Java requires enums to "not" be fully qualified

2025-04-18 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17945809#comment-17945809 ] ASF GitHub Bot commented on GROOVY-11614: - daniellansun commented on PR #2199:

Re: [PR] GROOVY-11614: Enums in switch/case statements that are not fully qual… [groovy]

2025-04-18 Thread via GitHub
daniellansun commented on PR #2199: URL: https://github.com/apache/groovy/pull/2199#issuecomment-2816547275 If switch expression closure delegates to the enum class, switch expression and switch statement will be different. As a result, it's hard for users to understand if they do not know

[jira] [Created] (GROOVY-11626) Bump japicmp to 0.4.6

2025-04-18 Thread Daniel Sun (Jira)
Daniel Sun created GROOVY-11626: --- Summary: Bump japicmp to 0.4.6 Key: GROOVY-11626 URL: https://issues.apache.org/jira/browse/GROOVY-11626 Project: Groovy Issue Type: Dependency upgrade

[jira] [Created] (GROOVY-11625) Bump picocli to 4.7.7

2025-04-18 Thread Daniel Sun (Jira)
Daniel Sun created GROOVY-11625: --- Summary: Bump picocli to 4.7.7 Key: GROOVY-11625 URL: https://issues.apache.org/jira/browse/GROOVY-11625 Project: Groovy Issue Type: Dependency upgrade

[jira] [Commented] (GROOVY-11624) Unable to use statically imported const string in annotation

2025-04-18 Thread Paul King (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17945775#comment-17945775 ] Paul King commented on GROOVY-11624: Does this impact GROOVY-9530? > Unable to use

[jira] [Commented] (GROOVY-11623) Default values for array members in annotations

2025-04-18 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17945745#comment-17945745 ] ASF GitHub Bot commented on GROOVY-11623: - daniellansun commented on PR #2198:

Re: [PR] GROOVY-11623: STC: support return of list expression for array method [groovy]

2025-04-18 Thread via GitHub
daniellansun commented on PR #2198: URL: https://github.com/apache/groovy/pull/2198#issuecomment-2816106489 Great. Would you like to add some test cases for multi-dimensional array? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to Git

Re: [PR] GROOVY-11624: SC: post-`ResolveVisitor`, pre-`Verifier` constant inlining [groovy]

2025-04-18 Thread via GitHub
codecov-commenter commented on PR #2200: URL: https://github.com/apache/groovy/pull/2200#issuecomment-2816090478 ## [Codecov](https://app.codecov.io/gh/apache/groovy/pull/2200?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&ut

[jira] [Commented] (GROOVY-11624) Unable to use statically imported const string in annotation

2025-04-18 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17945742#comment-17945742 ] ASF GitHub Bot commented on GROOVY-11624: - codecov-commenter commented on PR #2

[jira] [Commented] (GROOVY-11624) Unable to use statically imported const string in annotation

2025-04-18 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17945740#comment-17945740 ] ASF GitHub Bot commented on GROOVY-11624: - eric-milles opened a new pull reques

[PR] GROOVY-11624: SC: post-`ResolveVisitor`, pre-`Verifier` constant inlining [groovy]

2025-04-18 Thread via GitHub
eric-milles opened a new pull request, #2200: URL: https://github.com/apache/groovy/pull/2200 In case of references to external constants, `StaticCompilationVisitor` could replace constant arithmetic with methods calls before `Verifier` has a chance to fully inline. -- This is an automat

Re: [PR] GROOVY-11621: STC: fix for `list[idx] = null` and `map[key] = null` [groovy]

2025-04-18 Thread via GitHub
daniellansun commented on PR #2197: URL: https://github.com/apache/groovy/pull/2197#issuecomment-2810750826 +1 -- 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 unsubscrib

[jira] [Commented] (GROOVY-11621) Assigning null to a List or Map using bracket notation does not work with @CompileStatic

2025-04-18 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17945391#comment-17945391 ] ASF GitHub Bot commented on GROOVY-11621: - eric-milles merged PR #2197: URL: ht

Re: [PR] GROOVY-11621: STC: fix for `list[idx] = null` and `map[key] = null` [groovy]

2025-04-18 Thread via GitHub
eric-milles merged PR #2197: URL: https://github.com/apache/groovy/pull/2197 -- 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-unsubscr...@g

[jira] [Commented] (GROOVY-11624) Unable to use statically imported const string in annotation

2025-04-18 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17945435#comment-17945435 ] Eric Milles commented on GROOVY-11624: -- There are a few things going on here. In

[jira] [Commented] (GROOVY-11614) Enums in switch/case statements that are not fully qualified will cause a groovy compile error but Java requires enums to "not" be fully qualified

2025-04-18 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17945254#comment-17945254 ] ASF GitHub Bot commented on GROOVY-11614: - codecov-commenter commented on PR #2

[jira] [Commented] (GROOVY-11614) Enums in switch/case statements that are not fully qualified will cause a groovy compile error but Java requires enums to "not" be fully qualified

2025-04-18 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17945400#comment-17945400 ] ASF GitHub Bot commented on GROOVY-11614: - paulk-asert commented on PR #2199: U

[jira] [Commented] (GROOVY-11607) Nested in Ant task is not handled nicely

2025-04-18 Thread Jira
[ https://issues.apache.org/jira/browse/GROOVY-11607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17945701#comment-17945701 ] Björn Kautler commented on GROOVY-11607: Ah, thanks [~emilles], did not got tha

[jira] [Commented] (GROOVY-11614) Enums in switch/case statements that are not fully qualified will cause a groovy compile error but Java requires enums to "not" be fully qualified

2025-04-18 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17945704#comment-17945704 ] ASF GitHub Bot commented on GROOVY-11614: - eric-milles commented on PR #2199: U

Re: [PR] GROOVY-11614: Enums in switch/case statements that are not fully qual… [groovy]

2025-04-18 Thread via GitHub
eric-milles commented on PR #2199: URL: https://github.com/apache/groovy/pull/2199#issuecomment-2815666933 Is it possible for the switch expression closure to delegate to the enum class? Would that be safe to do? -- This is an automated message from the Apache Git Service. To respond to

[jira] [Commented] (GROOVY-11623) Default values for array members in annotations

2025-04-18 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17945699#comment-17945699 ] ASF GitHub Bot commented on GROOVY-11623: - eric-milles commented on PR #2198: U

Re: [PR] GROOVY-11623: STC: support return of list expression for array method [groovy]

2025-04-18 Thread via GitHub
eric-milles commented on PR #2198: URL: https://github.com/apache/groovy/pull/2198#issuecomment-2815638900 It supports whatever the dynamic mode conversion is. I have not tried with multi-dimensional, but I expect that it works. -- This is an automated message from the Apache Git Service

[jira] [Commented] (GROOVY-11623) Default values for array members in annotations

2025-04-18 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17945659#comment-17945659 ] ASF GitHub Bot commented on GROOVY-11623: - daniellansun commented on PR #2198:

Re: [PR] GROOVY-11623: STC: support return of list expression for array method [groovy]

2025-04-18 Thread via GitHub
daniellansun commented on PR #2198: URL: https://github.com/apache/groovy/pull/2198#issuecomment-2815276579 Out of curiosity, will multiple dimension array be supported too? For example, ```groovy String[][] foo() { [['a','b'], ['c', 'd']] } ``` -- This is an automa

[jira] [Updated] (GROOVY-11320) Unable to resolve class when putting variables into brackets.

2025-04-18 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-11320: - Language: groovy > Unable to resolve class when putting variables into brackets. >