[jira] [Updated] (GROOVY-11596) Additional DGM lazy iterator methods

2025-04-04 Thread Paul King (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul King updated GROOVY-11596: --- Description: This issue is to provide a few more iterator variants in the DGM methods. Some of the

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

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

Re: [PR] GROOVY-11600: no implicit outer class argument on inner record ctor call [groovy]

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

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

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

[PR] GROOVY-11600: no implicit outer class argument on inner record ctor call [groovy]

2025-04-04 Thread via GitHub
eric-milles opened a new pull request, #2176: URL: https://github.com/apache/groovy/pull/2176 also static modifier for inner `enum`, `trait`, `interface` or `annotation` -- I checked this behavior against `javac` -- This is an automated message from the Apache Git Service. To respond to t

[jira] [Commented] (GROOVY-10566) WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass

2025-04-04 Thread Paul King (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17941098#comment-17941098 ] Paul King commented on GROOVY-10566: Information provided, closing for now. > WARN

[jira] [Closed] (GROOVY-10566) WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass

2025-04-04 Thread Paul King (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul King closed GROOVY-10566. -- Assignee: Paul King Resolution: Information Provided > WARNING: Illegal reflective access by >

[jira] [Resolved] (GROOVY-11596) Additional DGM lazy iterator methods

2025-04-04 Thread Daniel Sun (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Sun resolved GROOVY-11596. - Fix Version/s: 5.0.0-alpha-13 Resolution: Fixed > Additional DGM lazy iterator methods >

Re: [PR] GROOVY-11596: Additional DGM lazy iterator methods [groovy]

2025-04-04 Thread via GitHub
daniellansun commented on PR #2170: URL: https://github.com/apache/groovy/pull/2170#issuecomment-2774034073 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] [Commented] (GROOVY-11597) STC: element type of enum class

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

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

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

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

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

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

2025-04-04 Thread via GitHub
eric-milles opened a new pull request, #2175: URL: https://github.com/apache/groovy/pull/2175 `for` loop item type for `Class` is `EnumType` -- 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 sp

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

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

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

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

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

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

[jira] [Commented] (GROOVY-11596) Additional DGM lazy iterator methods

2025-04-04 Thread Paul King (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17940678#comment-17940678 ] Paul King commented on GROOVY-11596: Another examples showing switching back and fo

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

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

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

2025-04-04 Thread via GitHub
eric-milles opened a new pull request, #2174: URL: https://github.com/apache/groovy/pull/2174 https://issues.apache.org/jira/browse/GROOVY-11601 -- 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 th

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

2025-04-04 Thread Eric Milles (Jira)
Eric Milles created GROOVY-11601: Summary: remove support for expression list in for-each statement Key: GROOVY-11601 URL: https://issues.apache.org/jira/browse/GROOVY-11601 Project: Groovy I

Re: [PR] GROOVY-10683: support `for (item in list index i)` looping [groovy]

2025-04-04 Thread via GitHub
eric-milles commented on PR #2169: URL: https://github.com/apache/groovy/pull/2169#issuecomment-2764598229 Sorry, "I don't know quite how to represent the extra variable/parameter" was not intended as a discussion point for the syntax. After the syntax is parsed, I have to solve the AST re

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

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

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

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

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

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

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

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

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

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

[jira] [Updated] (GROOVY-11585) instanceof with parameterized type

2025-04-04 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-11585: - Description: The {{instanceof}} operator allows parameterized types. However, the types are e

Re: [PR] GROOVY-10683: support `for (index, item in list)` looping [groovy]

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

[jira] [Resolved] (GROOVY-10683) Consider enhancing for loop to provide access to loop index or iterator

2025-04-04 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles resolved GROOVY-10683. -- Fix Version/s: 5.0.0-alpha-13 Resolution: Fixed > Consider enhancing for loop to provi

Re: [PR] GROOVY-10683: support `for (index, item in list)` looping [groovy]

2025-04-04 Thread via GitHub
eric-milles commented on PR #2169: URL: https://github.com/apache/groovy/pull/2169#issuecomment-2778901561 Spock's `spock.util.AstNodeToScriptVisitor#visitForLoop` will need a similar change to Groovy's `groovy.console.ui.AstNodeToScriptVisitor#visitForLoop`. -- This is an automated messa

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

2025-04-04 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: - Language: groovy > Static compiler should treat inner records as static > -

[jira] [Updated] (GROOVY-11595) for loop variable modifiers

2025-04-04 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-11595: - Fix Version/s: 5.0.0-alpha-13 > for loop variable modifiers > --- > >

[jira] [Resolved] (GROOVY-11595) for loop variable modifiers

2025-04-04 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles resolved GROOVY-11595. -- Resolution: Fixed > for loop variable modifiers > --- > >

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

2025-04-04 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-4721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-4721: Labels: (was: bytecode) > variable declared in try block is in scope in finally block >

[jira] [Commented] (GROOVY-10683) Consider enhancing for loop to provide access to loop index or iterator

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

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

2025-04-04 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-4721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-4721: Language: groovy > variable declared in try block is in scope in finally block > -

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

2025-04-04 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-4721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles reassigned GROOVY-4721: --- Assignee: Daniel Sun > variable declared in try block is in scope in finally block > --

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

2025-04-04 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles reassigned GROOVY-11597: Assignee: Eric Milles > STC: element type of enum class > --

[jira] [Commented] (GROOVY-10683) Consider enhancing for loop to provide access to loop index or iterator

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

Re: [PR] GROOVY-10683: support `for (index, item in list)` looping [groovy]

2025-04-04 Thread via GitHub
eric-milles merged PR #2169: URL: https://github.com/apache/groovy/pull/2169 -- 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-10683) Consider enhancing for loop to provide access to loop index or iterator

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

[jira] [Commented] (GROOVY-10683) Consider enhancing for loop to provide access to loop index or iterator

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

Re: [PR] GROOVY-10683: support `for (index, item in list)` looping [groovy]

2025-04-04 Thread via GitHub
eric-milles commented on PR #2169: URL: https://github.com/apache/groovy/pull/2169#issuecomment-2778828764 Supporting `long` would not be a big step from what is there -- grammar support is done. I can't envision the case where you would want linear iteration over that many elements. Mayb

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

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

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

2025-04-04 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-4721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17940956#comment-17940956 ] 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-04 Thread via GitHub
paulk-asert commented on code in PR #2172: URL: https://github.com/apache/groovy/pull/2172#discussion_r2028683776 ## subprojects/groovy-groovysh/src/test/groovy/org/apache/groovy/groovysh/GroovyshTest.groovy: ## @@ -392,17 +394,34 @@ class GroovyshInterpreterModeTest extends Gro