[jira] [Commented] (GROOVY-11486) DGM flatten return type is often incorrect

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

Re: [PR] GROOVY-11486: rework `flatten` type parameters, similar to `collectMany` [groovy]

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

[PR] GROOVY-11486: rework `flatten` type parameters, similar to `collectMany` [groovy]

2025-03-15 Thread via GitHub
eric-milles opened a new pull request, #2157: URL: https://github.com/apache/groovy/pull/2157 I tried to follow `collectMany` in terms of generics. There is no connection that can be made between the in type and the out type, since aggregates are recursively processed. And the closure acc

[jira] [Commented] (GROOVY-11486) DGM flatten return type is often incorrect

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

[jira] [Commented] (GROOVY-11513) java.time.* should be imported automatically

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

Re: [PR] GROOVY-11513: include `import java.time.*` by default [groovy]

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

[jira] [Updated] (GROOVY-11513) java.time.* should be imported automatically

2025-03-15 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-11513: - Labels: breaking (was: ) > java.time.* should be imported automatically >

[jira] [Assigned] (GROOVY-11513) java.time.* should be imported automatically

2025-03-15 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles reassigned GROOVY-11513: Assignee: Eric Milles > java.time.* should be imported automatically > -

[jira] [Commented] (GROOVY-11513) java.time.* should be imported automatically

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

[PR] GROOVY-11513: include `import java.time.*` by default [groovy]

2025-03-15 Thread via GitHub
eric-milles opened a new pull request, #2156: URL: https://github.com/apache/groovy/pull/2156 For your consideration. Here are the types in `java.time` package: ![image](https://github.com/user-attachments/assets/c483ea98-ad59-43fd-8a95-632ee898a7d1) -- This is an automated me

[jira] [Updated] (GROOVY-4843) Mocking a method with byte[] parameter type throws a ClassCastException: ArrayList cannot be cast to Number

2025-03-15 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-4843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-4843: Fix Version/s: 3.0.25 > Mocking a method with byte[] parameter type throws a ClassCastException:

[jira] [Updated] (GROOVY-8560) Spread operator type conversion error

2025-03-15 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-8560: Fix Version/s: 3.0.25 > Spread operator type conversion error > --

[jira] [Updated] (GROOVY-8560) Spread operator type conversion error

2025-03-15 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-8560: Fix Version/s: 4.0.27 > Spread operator type conversion error > --

[jira] [Updated] (GROOVY-4843) Mocking a method with byte[] parameter type throws a ClassCastException: ArrayList cannot be cast to Number

2025-03-15 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-4843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-4843: Fix Version/s: 4.0.27 > Mocking a method with byte[] parameter type throws a ClassCastException:

[jira] [Updated] (GROOVY-11513) java.time.* should be imported automatically

2025-03-15 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-11513: - Fix Version/s: (was: 4.x) > java.time.* should be imported automatically >

[jira] [Assigned] (GROOVY-11486) DGM flatten return type is often incorrect

2025-03-15 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles reassigned GROOVY-11486: Assignee: Eric Milles > DGM flatten return type is often incorrect > ---

[jira] [Assigned] (GROOVY-11492) Java compatibility: array initializers without "new Type[]"

2025-03-15 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles reassigned GROOVY-11492: Assignee: Eric Milles > Java compatibility: array initializers without "new Type[]" > --

[jira] [Assigned] (GROOVY-9561) Some ternary expressions with []'s and 'as' are not parsed properly

2025-03-15 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-9561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles reassigned GROOVY-9561: --- Assignee: Eric Milles > Some ternary expressions with []'s and 'as' are not parsed properly

[jira] [Assigned] (GROOVY-11067) Add support for spread elements in array initializer

2025-03-15 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles reassigned GROOVY-11067: Assignee: Eric Milles > Add support for spread elements in array initializer > -

[jira] [Resolved] (GROOVY-4843) Mocking a method with byte[] parameter type throws a ClassCastException: ArrayList cannot be cast to Number

2025-03-15 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-4843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles resolved GROOVY-4843. - Fix Version/s: 5.0.0-alpha-13 Resolution: Fixed https://github.com/apache/groovy/commit/8

[jira] [Resolved] (GROOVY-8560) Spread operator type conversion error

2025-03-15 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles resolved GROOVY-8560. - Fix Version/s: 5.0.0-alpha-13 Resolution: Fixed https://github.com/apache/groovy/commit/8

[jira] [Assigned] (GROOVY-8560) Spread operator type conversion error

2025-03-15 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles reassigned GROOVY-8560: --- Assignee: Eric Milles > Spread operator type conversion error > ---

[jira] [Assigned] (GROOVY-4843) Mocking a method with byte[] parameter type throws a ClassCastException: ArrayList cannot be cast to Number

2025-03-15 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-4843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles reassigned GROOVY-4843: --- Assignee: Eric Milles > Mocking a method with byte[] parameter type throws a ClassCastExcep

[jira] [Updated] (GROOVY-11182) Primitive array Varargs Java incompatibility

2025-03-15 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-11182: - Language: groovy > Primitive array Varargs Java incompatibility > -