[jira] [Resolved] (GROOVY-11605) Upgrade embedded ASM version to support JDK 24

2025-04-07 Thread Tobias Gierke (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tobias Gierke resolved GROOVY-11605. Resolution: Invalid Hi Paul, Thanks for the speedy response...turns out there was a seco

[jira] [Commented] (GROOVY-11601) remove support for expression list in for-each statement

2025-04-07 Thread Paul King (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17941752#comment-17941752 ] Paul King commented on GROOVY-11601: Any other use cases you can think of [~blackdr

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

2025-04-07 Thread via GitHub
daniellansun commented on PR #2156: URL: https://github.com/apache/groovy/pull/2156#issuecomment-2784994648 It's better not to break existing users' code unless we have to do. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub an

[jira] [Commented] (GROOVY-11601) remove support for expression list in for-each statement

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

[jira] [Commented] (GROOVY-11601) remove support for expression list in for-each statement

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

[jira] [Updated] (GROOVY-11600) Static compiler should treat inner records as static

2025-04-07 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-11600: - Fix Version/s: 4.0.27 > Static compiler should treat inner records as static >

Re: [PR] GROOVY-11601: remove support for expression list in `for`-each statement [groovy]

2025-04-07 Thread via GitHub
eric-milles commented on PR #2174: URL: https://github.com/apache/groovy/pull/2174#issuecomment-2783819389 Do you have an example of something that requires this? It is quite costly to support arbitrary expression list in for loop. -- This is an automated message from the Apache Git Serv

[jira] [Resolved] (GROOVY-11600) Static compiler should treat inner records as static

2025-04-07 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles resolved GROOVY-11600. -- Fix Version/s: 5.0.0-alpha-13 Resolution: Fixed > Static compiler should treat inner r

[jira] [Commented] (GROOVY-11600) Static compiler should treat inner records as static

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

[jira] [Commented] (GROOVY-11229) Support instanceof variable

2025-04-07 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17941560#comment-17941560 ] ASF GitHub Bot commented on GROOVY-11229: - daniellansun merged PR #2177: URL: h

[jira] [Commented] (GROOVY-11603) Add Lazy generators for iterators

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

[jira] [Commented] (GROOVY-4721) variable declared in try block is in scope in finally block

2025-04-07 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-4721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17941558#comment-17941558 ] ASF GitHub Bot commented on GROOVY-4721: daniellansun commented on code in PR #2

Re: [PR] GROOVY-11229: limit scope of `instanceof` variable [groovy]

2025-04-07 Thread via GitHub
daniellansun merged PR #2177: URL: https://github.com/apache/groovy/pull/2177 -- 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...@

[jira] [Commented] (GROOVY-11604) Add returnEarly boolean variant for DGM#chop

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

Re: [PR] GROOVY-11604: Add returnEarly boolean variant for DGM#chop [groovy]

2025-04-07 Thread via GitHub
daniellansun commented on PR #2180: URL: https://github.com/apache/groovy/pull/2180#issuecomment-2783119773 +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-11229) Support instanceof variable

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

Re: [PR] GROOVY-11603: Add Lazy generators for iterators [groovy]

2025-04-07 Thread via GitHub
daniellansun commented on PR #2179: URL: https://github.com/apache/groovy/pull/2179#issuecomment-2783115859 +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

Re: [PR] GROOVY-11229: limit scope of `instanceof` variable [groovy]

2025-04-07 Thread via GitHub
daniellansun commented on PR #2177: URL: https://github.com/apache/groovy/pull/2177#issuecomment-2783110797 Merged. Thanks. -- 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.

[jira] [Resolved] (GROOVY-11597) STC: element type of enum class

2025-04-07 Thread Daniel Sun (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Sun resolved GROOVY-11597. - Fix Version/s: 5.0.0-alpha-13 Resolution: Fixed > STC: element type of enum class >

Re: [PR] GROOVY-4721: variable declared in try block is in scope in finally block [groovy]

2025-04-07 Thread via GitHub
daniellansun commented on code in PR #2172: URL: https://github.com/apache/groovy/pull/2172#discussion_r2031095137 ## subprojects/groovy-groovysh/src/test/groovy/org/apache/groovy/groovysh/GroovyshTest.groovy: ## @@ -392,17 +394,34 @@ class GroovyshInterpreterModeTest extends Gr

[jira] [Created] (GROOVY-11605) Upgrade embedded ASM version to support JDK 24

2025-04-07 Thread Tobias Gierke (Jira)
Tobias Gierke created GROOVY-11605: -- Summary: Upgrade embedded ASM version to support JDK 24 Key: GROOVY-11605 URL: https://issues.apache.org/jira/browse/GROOVY-11605 Project: Groovy Issue T

[jira] [Commented] (GROOVY-4721) variable declared in try block is in scope in finally block

2025-04-07 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-4721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17941537#comment-17941537 ] ASF GitHub Bot commented on GROOVY-4721: paulk-asert commented on code in PR #21

Re: [PR] GROOVY-4721: variable declared in try block is in scope in finally block [groovy]

2025-04-07 Thread via GitHub
paulk-asert commented on code in PR #2172: URL: https://github.com/apache/groovy/pull/2172#discussion_r2030997973 ## subprojects/groovy-groovysh/src/test/groovy/org/apache/groovy/groovysh/GroovyshTest.groovy: ## @@ -392,17 +394,34 @@ class GroovyshInterpreterModeTest extends Gro

[jira] [Commented] (GROOVY-11597) STC: element type of enum class

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

[jira] [Commented] (GROOVY-11597) STC: element type of enum class

2025-04-07 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17941527#comment-17941527 ] ASF GitHub Bot commented on GROOVY-11597: - daniellansun merged PR #2175: URL: h

Re: [PR] GROOVY-11597: STC: loop over enum class [groovy]

2025-04-07 Thread via GitHub
daniellansun commented on PR #2175: URL: https://github.com/apache/groovy/pull/2175#issuecomment-2782867631 Merged. Thanks. -- 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.

Re: [PR] GROOVY-11597: STC: loop over enum class [groovy]

2025-04-07 Thread via GitHub
daniellansun merged PR #2175: URL: https://github.com/apache/groovy/pull/2175 -- 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...@

[jira] [Comment Edited] (GROOVY-11601) remove support for expression list in for-each statement

2025-04-07 Thread Paul King (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17941476#comment-17941476 ] Paul King edited comment on GROOVY-11601 at 4/7/25 7:15 AM:

[jira] [Commented] (GROOVY-11601) remove support for expression list in for-each statement

2025-04-07 Thread Paul King (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17941476#comment-17941476 ] Paul King commented on GROOVY-11601: So, for clarity, A would be allowed but B, C,