[jira] [Updated] (GROOVY-11229) Support pattern matching and destructure

2023-11-30 Thread Daniel Sun (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Sun updated GROOVY-11229: Description: See also: [https://openjdk.org/jeps/394] [https://openjdk.java.net/jeps/440]

[jira] [Commented] (GROOVY-11229) Support pattern matching for `instanceof`

2023-11-30 Thread Daniel Sun (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17791843#comment-17791843 ] Daniel Sun commented on GROOVY-11229: - Let me refine the ticket according to comments later, it is

[jira] [Updated] (GROOVY-7506) Cannot assign value of type java.util.List to variable of type java.lang.String[]

2023-11-30 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-7506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-7506: Fix Version/s: 3.0.20 > Cannot assign value of type java.util.List to variable of > type

Re: [PR] Renovate updates [groovy]

2023-11-30 Thread via GitHub
Goooler commented on PR #2004: URL: https://github.com/apache/groovy/pull/2004#issuecomment-1834305786 Let me know if there is any legal or copyright issue to prevent us from doing this. -- This is an automated message from the Apache Git Service. To respond to the message, please log on

[PR] Renovate updates [groovy]

2023-11-30 Thread via GitHub
Goooler opened a new pull request, #2004: URL: https://github.com/apache/groovy/pull/2004 I'm enabling @renovate-bot in my fork, it would send dep updates more efficiently than @dependabot. I'll create updates from it if we can accept. https://docs.renovatebot.com -- This is an

[jira] [Updated] (GROOVY-10660) STC: infer closure/lambda parameter types for return expression

2023-11-30 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10660?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-10660: - Fix Version/s: 3.0.20 > STC: infer closure/lambda parameter types for return expression >

[jira] [Updated] (GROOVY-10623) Type mismatch when encountering unconditional flow typing and null

2023-11-30 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-10623: - Fix Version/s: 3.0.20 > Type mismatch when encountering unconditional flow typing and null >

[jira] [Updated] (GROOVY-10356) STC changes the inferred type of variable in the presence of flow typing

2023-11-30 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-10356: - Fix Version/s: 3.0.20 > STC changes the inferred type of variable in the presence of flow

[jira] [Updated] (GROOVY-10271) Wrong inference when using ternary operator with closure and variable

2023-11-30 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-10271: - Fix Version/s: 3.0.20 > Wrong inference when using ternary operator with closure and variable

[jira] [Updated] (GROOVY-10272) Wrong inference when using ternary operator with lambdas

2023-11-30 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-10272: - Fix Version/s: 3.0.20 > Wrong inference when using ternary operator with lambdas >

[jira] [Updated] (GROOVY-10080) Closure with type argument inference does not work as expected

2023-11-30 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10080?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-10080: - Fix Version/s: 3.0.20 > Closure with type argument inference does not work as expected >

[jira] [Updated] (GROOVY-10308) SC incorrectly reports "access to Object#field" is forbidden

2023-11-30 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-10308: - Fix Version/s: 3.0.20 > SC incorrectly reports "access to Object#field" is forbidden >

[jira] [Commented] (GROOVY-11229) Support pattern matching for `instanceof`

2023-11-30 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17791627#comment-17791627 ] Eric Milles commented on GROOVY-11229: -- For the Java 16 pattern, could you just create a