[PR] GROOVY-11568: try `invokeMethod(Class,Object,Object[],boolean,boolean)` [groovy]

2025-03-21 Thread via GitHub
eric-milles opened a new pull request, #2158: URL: https://github.com/apache/groovy/pull/2158 When MethodSelector#setMetaClassCallHandleIfNeeded links to MetaObjectProtocol#invokeMethod(Object,String,Object[]), the sender class is dropped. -- This is an automated message from the Apache

Re: [PR] Gradle 8.13 [groovy]

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

Re: [PR] Gradle 8.13 [groovy]

2025-03-21 Thread via GitHub
paulk-asert merged PR #2160: URL: https://github.com/apache/groovy/pull/2160 -- 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

Re: [PR] remove excess manifest attributes [groovy]

2025-03-18 Thread via GitHub
paulk-asert commented on code in PR #2154: URL: https://github.com/apache/groovy/pull/2154#discussion_r2000136302 ## build-logic/src/main/groovy/org/apache/groovy/gradle/JarJarTask.groovy: ## @@ -169,16 +168,9 @@ class JarJarTask extends DefaultTask { it.into(ou

Re: [PR] GROOVY-11571: remove excess manifest attributes [groovy]

2025-03-16 Thread via GitHub
eric-milles commented on code in PR #2154: URL: https://github.com/apache/groovy/pull/2154#discussion_r1997659214 ## build-logic/src/main/groovy/org/apache/groovy/gradle/JarJarTask.groovy: ## @@ -169,16 +168,9 @@ class JarJarTask extends DefaultTask { it.into(ou

Re: [PR] remove excess manifest attributes [groovy]

2025-03-17 Thread via GitHub
paulk-asert commented on code in PR #2154: URL: https://github.com/apache/groovy/pull/2154#discussion_r2000136302 ## build-logic/src/main/groovy/org/apache/groovy/gradle/JarJarTask.groovy: ## @@ -169,16 +168,9 @@ class JarJarTask extends DefaultTask { it.into(ou

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-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.

[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

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

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

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

Re: [PR] GROOVY-11602: Add DGM#toTuple(Map.Entry) [groovy]

2025-04-06 Thread via GitHub
daniellansun commented on PR #2178: URL: https://github.com/apache/groovy/pull/2178#issuecomment-2781403410 +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-06 Thread via GitHub
daniellansun commented on PR #2177: URL: https://github.com/apache/groovy/pull/2177#issuecomment-2781402812 LGTM -- 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 unsubscr

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

2025-04-06 Thread via GitHub
daniellansun commented on PR #2175: URL: https://github.com/apache/groovy/pull/2175#issuecomment-2781400547 LGTM -- 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 unsubscr

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

2025-04-06 Thread via GitHub
daniellansun commented on PR #2176: URL: https://github.com/apache/groovy/pull/2176#issuecomment-2781401634 LGTM -- 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 unsubscr

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

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

Re: [PR] Update SDKMAN install URL [groovy]

2025-04-05 Thread via GitHub
daniellansun commented on PR #2171: URL: https://github.com/apache/groovy/pull/2171#issuecomment-2773244779 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-11586: Provide an injectAll DGM method [groovy]

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

Re: [PR] GROOVY-11599: Make DGM#chop(Iterator, int...) lazy [groovy]

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

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

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

Re: [PR] remove excess manifest attributes [groovy]

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

[PR] GROOVY-11602: Add DGM#toTuple(Map.Entry) [groovy]

2025-04-05 Thread via GitHub
paulk-asert opened a new pull request, #2178: URL: https://github.com/apache/groovy/pull/2178 (no comment) -- 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

Re: [PR] GROOVY-11602: Add DGM#toTuple(Map.Entry) [groovy]

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

Re: [PR] GROOVY-11599: Make DGM#chop(Iterator, int...) lazy [groovy]

2025-04-06 Thread via GitHub
paulk-asert merged PR #2173: URL: https://github.com/apache/groovy/pull/2173 -- 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

Re: [PR] GROOVY-11602: Add DGM#toTuple(Map.Entry) [groovy]

2025-04-06 Thread via GitHub
paulk-asert merged PR #2178: URL: https://github.com/apache/groovy/pull/2178 -- 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

[PR] Bump org.sonarqube from 6.0.1.5171 to 6.1.0.5360 [groovy]

2025-03-25 Thread via GitHub
dependabot[bot] opened a new pull request, #2164: URL: https://github.com/apache/groovy/pull/2164 Bumps org.sonarqube from 6.0.1.5171 to 6.1.0.5360. [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.sonarqube&

[PR] Bump com.gradle.common-custom-user-data-gradle-plugin from 2.1 to 2.2 [groovy]

2025-03-26 Thread via GitHub
dependabot[bot] opened a new pull request, #2165: URL: https://github.com/apache/groovy/pull/2165 Bumps com.gradle.common-custom-user-data-gradle-plugin from 2.1 to 2.2. [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependenc

Re: [PR] Bump org.sonarqube from 6.0.1.5171 to 6.1.0.5360 [groovy]

2025-03-26 Thread via GitHub
Goooler merged PR #2164: URL: https://github.com/apache/groovy/pull/2164 -- 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...@groov

Re: [PR] Bump com.gradle.common-custom-user-data-gradle-plugin from 2.1 to 2.2 [groovy]

2025-03-27 Thread via GitHub
dependabot[bot] commented on PR #2165: URL: https://github.com/apache/groovy/pull/2165#issuecomment-275997 Superseded by #2167. -- 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 co

Re: [PR] Bump com.gradle.common-custom-user-data-gradle-plugin from 2.1 to 2.2 [groovy]

2025-03-27 Thread via GitHub
dependabot[bot] closed pull request #2165: Bump com.gradle.common-custom-user-data-gradle-plugin from 2.1 to 2.2 URL: https://github.com/apache/groovy/pull/2165 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL abov

[PR] Bump com.gradle.common-custom-user-data-gradle-plugin from 2.1 to 2.2.1 [groovy]

2025-03-27 Thread via GitHub
dependabot[bot] opened a new pull request, #2167: URL: https://github.com/apache/groovy/pull/2167 Bumps com.gradle.common-custom-user-data-gradle-plugin from 2.1 to 2.2.1. [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?depende

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

Re: [PR] Bump com.gradle.develocity from 3.19.2 to 4.0 [groovy]

2025-04-09 Thread via GitHub
paulk-asert commented on PR #2181: URL: https://github.com/apache/groovy/pull/2181#issuecomment-2791344864 Yes, we might need to move away from using those recipes. There might be some other equivalent or we might need to bring them into our build, or we can forgo some of the checks they pr

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

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

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

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

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

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

Re: [PR] Bump com.gradle.develocity from 3.19.2 to 4.0 [groovy]

2025-04-09 Thread via GitHub
daniellansun commented on PR #2181: URL: https://github.com/apache/groovy/pull/2181#issuecomment-2791256681 melix/gradle-buildscan-recipes has not been maintained for 8 years. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub an

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

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

Re: [PR] GROOVY-9742: GroovyClassLoader.parseClass() StampedCommonCache.getAndPut() hang [groovy]

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

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

2025-04-09 Thread via GitHub
paulk-asert commented on PR #2174: URL: https://github.com/apache/groovy/pull/2174#issuecomment-2784546048 I added some example to the Jira and asked Jochen (via slack) if he had other examples (but he hasn't responded yet). -- This is an automated message from the Apache Git Service. To

[PR] Correct Groovy Ant task documentation regarding nested javac [groovy]

2025-04-10 Thread via GitHub
Vampire opened a new pull request, #2183: URL: https://github.com/apache/groovy/pull/2183 (no comment) -- 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-mai

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

2025-03-30 Thread via GitHub
blackdrag commented on PR #2169: URL: https://github.com/apache/groovy/pull/2169#issuecomment-2764527455 Daniel's variant is very near to what I know from Python: for idx,data in enumerate(content_list): print(idx) # will print the index of the loop starting from 0

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

2025-03-30 Thread via GitHub
codecov-commenter commented on PR #2169: URL: https://github.com/apache/groovy/pull/2169#issuecomment-2764642795 ## [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

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

2025-03-30 Thread via GitHub
codecov-commenter commented on PR #2169: URL: https://github.com/apache/groovy/pull/2169#issuecomment-2764625268 ## [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

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

2025-03-30 Thread via GitHub
glaforge commented on PR #2169: URL: https://github.com/apache/groovy/pull/2169#issuecomment-2764532875 I like the Python approach suggested by @blackdrag, it's quite natural (and certainly familiar for those who have done some Python) -- This is an automated message from the Apache Git S

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

2025-03-30 Thread via GitHub
eric-milles commented on PR #2169: URL: https://github.com/apache/groovy/pull/2169#issuecomment-2764610294 I'm going to push just the clean ups as a commit that can be reviewed and cherry-picked on its own. The `for (int i, var e in x)` makes sense as simple and understandable. I should b

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

2025-04-01 Thread via GitHub
eric-milles commented on PR #2169: URL: https://github.com/apache/groovy/pull/2169#issuecomment-2769914844 This is functional enough for an initial review. -- 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

[PR] Update SDKMAN install URL [groovy]

2025-04-01 Thread via GitHub
roulpriya opened a new pull request, #2171: URL: https://github.com/apache/groovy/pull/2171 Update SDKMAN URL to include `"https://get.sdkman.io"` as the old link does not work. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub

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

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

[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

[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

[PR] Bump com.gradle.develocity from 3.19.2 to 4.0 [groovy]

2025-04-08 Thread via GitHub
dependabot[bot] opened a new pull request, #2181: URL: https://github.com/apache/groovy/pull/2181 Bumps com.gradle.develocity from 3.19.2 to 4.0. [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.gradle.develo

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...@

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

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

2025-04-08 Thread via GitHub
paulk-asert merged PR #2179: URL: https://github.com/apache/groovy/pull/2179 -- 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

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

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

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

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

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

2025-04-08 Thread via GitHub
paulk-asert merged PR #2180: URL: https://github.com/apache/groovy/pull/2180 -- 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

Re: [PR] GROOVY-11606: Lazy findAll, collect, collectMany [groovy]

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

Re: [PR] Bump com.gradle.develocity from 3.19.2 to 4.0 [groovy]

2025-04-08 Thread via GitHub
Goooler commented on PR #2181: URL: https://github.com/apache/groovy/pull/2181#issuecomment-2788173917 Blocked by https://github.com/melix/gradle-buildscan-recipes/issues/10. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and

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

2025-04-06 Thread via GitHub
paulk-asert opened a new pull request, #2180: URL: https://github.com/apache/groovy/pull/2180 (no comment) -- 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

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

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

[PR] GROOVY-9742: GroovyClassLoader.parseClass() StampedCommonCache.getAnd… [groovy]

2025-04-11 Thread via GitHub
paulk-asert opened a new pull request, #2185: URL: https://github.com/apache/groovy/pull/2185 …Put() hang (additional flexibility) -- 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 com

Re: [PR] GROOVY-9742: GroovyClassLoader.parseClass() StampedCommonCache.getAnd… [groovy]

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

Re: [PR] GROOVY-9742: GroovyClassLoader.parseClass() StampedCommonCache.getAnd… [groovy]

2025-04-11 Thread via GitHub
daniellansun commented on PR #2185: URL: https://github.com/apache/groovy/pull/2185#issuecomment-2796758896 +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-9742: GroovyClassLoader.parseClass() StampedCommonCache.getAnd… [groovy]

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

Re: [PR] GROOVY-9742: GroovyClassLoader.parseClass() StampedCommonCache.getAnd… [groovy]

2025-04-11 Thread via GitHub
daniellansun commented on PR #2185: URL: https://github.com/apache/groovy/pull/2185#issuecomment-2796821747 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] Correct Groovy Ant task documentation regarding nested javac [groovy]

2025-04-11 Thread via GitHub
daniellansun commented on PR #2183: URL: https://github.com/apache/groovy/pull/2183#issuecomment-2798347431 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] Correct Groovy Ant task documentation regarding nested javac [groovy]

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

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

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.

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-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

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

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...@

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-11614: Enums in switch/case statements that are not fully qual… [groovy]

2025-04-17 Thread via GitHub
paulk-asert commented on PR #2199: URL: https://github.com/apache/groovy/pull/2199#issuecomment-2812980365 > Can you explain the design of this one? I don't quite follow. I think this plays into the reason we limited the previous fix to STC. This just applies the previous fix (so only

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

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

2025-04-17 Thread via GitHub
daniellansun commented on PR #2199: URL: https://github.com/apache/groovy/pull/2199#issuecomment-2814267260 LGTM. P.S. It's better to add some marker to limit visiting further. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to G

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

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

Re: [PR] GROOVY-11609: Avoid finding same variable/class member repeatedly [groovy]

2025-04-12 Thread via GitHub
daniellansun commented on PR #2186: URL: https://github.com/apache/groovy/pull/2186#issuecomment-2799588675 > @daniellansun there are already 3 maps/caches in VariableScope. Why are those no good? Finding logic will still be triggered for each same variables/class members in the Vari

Re: [PR] GROOVY-11609: Avoid finding same variable/class member repeatedly [groovy]

2025-04-13 Thread via GitHub
daniellansun closed pull request #2186: GROOVY-11609: Avoid finding same variable/class member repeatedly URL: https://github.com/apache/groovy/pull/2186 -- 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

Re: [PR] GROOVY-11263: Analyze dead code [groovy]

2025-04-13 Thread via GitHub
daniellansun closed pull request #2023: GROOVY-11263: Analyze dead code URL: https://github.com/apache/groovy/pull/2023 -- 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 unsub

Re: [PR] use src/test/groovy instead of src/test [groovy]

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

Re: [PR] GROOVY-11607: `groovyc`: `fileset` lists files [groovy]

2025-04-15 Thread via GitHub
daniellansun commented on PR #2187: URL: https://github.com/apache/groovy/pull/2187#issuecomment-2804787579 +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] use src/test/groovy instead of src/test [groovy]

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

Re: [PR] use src/test/groovy instead of src/test [groovy]

2025-04-15 Thread via GitHub
daniellansun commented on PR #2194: URL: https://github.com/apache/groovy/pull/2194#issuecomment-2804754579 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-11607: `groovyc`: `fileset` lists files [groovy]

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

Re: [PR] GROOVY-10904, GROOVY-11618: reference to inner class property method [groovy]

2025-04-15 Thread via GitHub
daniellansun commented on PR #2190: URL: https://github.com/apache/groovy/pull/2190#issuecomment-2804792888 LGTM -- 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 unsubscr

Re: [PR] GROOVY-11611: outer class super method invocation [groovy]

2025-04-15 Thread via GitHub
daniellansun commented on PR #2192: URL: https://github.com/apache/groovy/pull/2192#issuecomment-2804769157 LGTM -- 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 unsubscr

Re: [PR] GROOVY-11613: inner class of interface with default methods is static [groovy]

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

Re: [PR] Gradle 8.14 RC1 [groovy]

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

Re: [PR] Gradle 8.14 RC1 [groovy]

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

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

2025-04-16 Thread via GitHub
paulk-asert opened a new pull request, #2199: URL: https://github.com/apache/groovy/pull/2199 …ified will cause a groovy compile error for switch expressions even with type checking enabled -- This is an automated message from the Apache Git Service. To respond to the message, please log

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

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

Re: [PR] Bump com.h3xstream.findsecbugs:findsecbugs-plugin from 1.13.0 to 1.14.0 [groovy]

2025-04-20 Thread via GitHub
Goooler merged PR #2202: URL: https://github.com/apache/groovy/pull/2202 -- 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...@groov

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

2025-04-20 Thread via GitHub
daniellansun commented on PR #2199: URL: https://github.com/apache/groovy/pull/2199#issuecomment-2817255442 If delegation applied, method calls within switch expression can also be delegated to enum class. But switch statement treats the method calls as invalid. -- This is an automated m

[PR] Bump com.h3xstream.findsecbugs:findsecbugs-plugin from 1.13.0 to 1.14.0 [groovy]

2025-04-20 Thread via GitHub
dependabot[bot] opened a new pull request, #2202: URL: https://github.com/apache/groovy/pull/2202 Bumps [com.h3xstream.findsecbugs:findsecbugs-plugin](https://github.com/find-sec-bugs/find-sec-bugs) from 1.13.0 to 1.14.0. Commits See full diff in https://github.com/find-sec-bu

<    5   6   7   8   9   10   11   12   13   14   >