[jira] [Updated] (GROOVY-10494) Groovy 4 can not compile super.foo with generic interface (or trait) method

2022-02-16 Thread Xiaoguang Wang (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiaoguang Wang updated GROOVY-10494: Summary: Groovy 4 can not compile super.foo with generic interface (or trait) method

[jira] [Updated] (GROOVY-10494) Groovy 4 can not compile super.foo with generic interface method

2022-02-16 Thread Xiaoguang Wang (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiaoguang Wang updated GROOVY-10494: Attachment: image-2022-02-17-10-56-36-832.png > Groovy 4 can not compile super.foo with

[jira] [Commented] (GROOVY-10494) Groovy 4 can not compile super.foo with generic interface method

2022-02-16 Thread Xiaoguang Wang (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17493616#comment-17493616 ] Xiaoguang Wang commented on GROOVY-10494: - It seems to be a bug in Groovy 4, so Groovy 5 seems

[jira] [Updated] (GROOVY-10494) Groovy 4 can not compile super.foo with generic interface method

2022-02-16 Thread Xiaoguang Wang (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiaoguang Wang updated GROOVY-10494: Attachment: image-2022-02-17-10-53-45-797.png > Groovy 4 can not compile super.foo with

[jira] [Updated] (GROOVY-10499) Incomplete type variable substitution when using wildcard type and diamond operator

2022-02-16 Thread Thodoris Sotiropoulos (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thodoris Sotiropoulos updated GROOVY-10499: --- Description: I have the following groovy program {code:java} class Foo {

[jira] [Created] (GROOVY-10499) Incomplete type variable substitution when using wildcard type and diamond operator

2022-02-16 Thread Thodoris Sotiropoulos (Jira)
Thodoris Sotiropoulos created GROOVY-10499: -- Summary: Incomplete type variable substitution when using wildcard type and diamond operator Key: GROOVY-10499 URL:

[jira] [Updated] (GROOVY-10497) NamedVariant: default value overrides supplied value if it's falsy

2022-02-16 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-10497: - Affects Version/s: 2.5.16 > NamedVariant: default value overrides supplied value if it's falsy

[jira] [Updated] (GROOVY-9158) @NamedParam arguments don't get their default value when only named parameters are used in the method call

2022-02-16 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-9158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-9158: Fix Version/s: 2.5.16 > @NamedParam arguments don't get their default value when only named >

[jira] [Updated] (GROOVY-10176) @NamedVariant with primitives can't find method

2022-02-16 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-10176: - Fix Version/s: 2.5.16 > @NamedVariant with primitives can't find method >

[jira] [Updated] (GROOVY-9183) Issue using @MapConstructor and @NamedVariant

2022-02-16 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-9183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-9183: Fix Version/s: 2.5.16 > Issue using @MapConstructor and @NamedVariant >

[jira] [Updated] (GROOVY-10261) @NamedVariant: Default parameters on ctor/method are ignored when passing some named parameters

2022-02-16 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-10261: - Fix Version/s: 2.5.16 > @NamedVariant: Default parameters on ctor/method are ignored when

[jira] [Updated] (GROOVY-10483) Source encoding incorrectly set in v4.0.0

2022-02-16 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-10483: - Fix Version/s: 2.5.16 > Source encoding incorrectly set in v4.0.0 >

[jira] [Updated] (GROOVY-10497) NamedVariant: default value overrides supplied value if it's falsy

2022-02-16 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-10497: - Affects Version/s: 3.0.10 > NamedVariant: default value overrides supplied value if it's falsy

[jira] [Updated] (GROOVY-9158) @NamedParam arguments don't get their default value when only named parameters are used in the method call

2022-02-16 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-9158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-9158: Fix Version/s: 3.0.10 > @NamedParam arguments don't get their default value when only named >

[jira] [Updated] (GROOVY-10176) @NamedVariant with primitives can't find method

2022-02-16 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-10176: - Fix Version/s: 3.0.10 > @NamedVariant with primitives can't find method >

[jira] [Updated] (GROOVY-10498) NamedVariant: default value overrides supplied value if it's falsy (positional parameter)

2022-02-16 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-10498: - Affects Version/s: 3.0.10 > NamedVariant: default value overrides supplied value if it's falsy

[jira] [Updated] (GROOVY-10483) Source encoding incorrectly set in v4.0.0

2022-02-16 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-10483: - Fix Version/s: 3.0.10 > Source encoding incorrectly set in v4.0.0 >

[jira] [Updated] (GROOVY-10483) Source encoding incorrectly set in v4.0.0

2022-02-16 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-10483: - Fix Version/s: 4.0.1 > Source encoding incorrectly set in v4.0.0 >

[jira] [Resolved] (GROOVY-10483) Source encoding incorrectly set in v4.0.0

2022-02-16 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles resolved GROOVY-10483. -- Fix Version/s: 5.0.0-alpha-1 Resolution: Fixed

[jira] [Assigned] (GROOVY-10483) Source encoding incorrectly set in v4.0.0

2022-02-16 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles reassigned GROOVY-10483: Assignee: Eric Milles > Source encoding incorrectly set in v4.0.0 >

[jira] [Commented] (GROOVY-10494) Groovy 4 can not compile super.foo with generic interface method

2022-02-16 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17493483#comment-17493483 ] Eric Milles commented on GROOVY-10494: -- If you move the class {{IService}} to java, does the error

[GitHub] [groovy] eric-milles commented on pull request #1686: GROOVY-10484: `@NamedVariant`: bind `@NamedParam` into `@NamedParams`

2022-02-16 Thread GitBox
eric-milles commented on pull request #1686: URL: https://github.com/apache/groovy/pull/1686#issuecomment-1042096674 NOTE: This is a solution that I can backport to Groovy 2.5, which lacks the `@Repeatable` annotation:

[jira] [Updated] (GROOVY-10498) NamedVariant: default value overrides supplied value if it's falsy (positional parameter)

2022-02-16 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-10498: - Affects Version/s: 4.0.0 > NamedVariant: default value overrides supplied value if it's falsy

[jira] [Created] (GROOVY-10498) NamedVariant: default value overrides supplied value if it's falsy (positional parameter)

2022-02-16 Thread Eric Milles (Jira)
Eric Milles created GROOVY-10498: Summary: NamedVariant: default value overrides supplied value if it's falsy (positional parameter) Key: GROOVY-10498 URL: https://issues.apache.org/jira/browse/GROOVY-10498

[jira] [Commented] (GROOVY-10497) NamedVariant: default value overrides supplied value if it's falsy

2022-02-16 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17493378#comment-17493378 ] Eric Milles commented on GROOVY-10497: -- https://github.com/apache/groovy/pull/1687 >

[jira] [Assigned] (GROOVY-10497) NamedVariant: default value overrides supplied value if it's falsy

2022-02-16 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles reassigned GROOVY-10497: Assignee: Eric Milles > NamedVariant: default value overrides supplied value if it's

[jira] [Updated] (GROOVY-10497) NamedVariant: default value overrides supplied value if it's falsy

2022-02-16 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-10497: - Affects Version/s: 4.0.0 > NamedVariant: default value overrides supplied value if it's falsy

[jira] [Updated] (GROOVY-10496) Wrong IntRange.by(...) behaviour for left-open ranges

2022-02-16 Thread Timofey Ananyev (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Timofey Ananyev updated GROOVY-10496: - Description: Call {{by}} on {{IntRange}} results in loss of information about

[GitHub] [groovy] eric-milles commented on pull request #1687: GROOVY-10497: `@NamedVariant`: don't replace explicit value with default

2022-02-16 Thread GitBox
eric-milles commented on pull request #1687: URL: https://github.com/apache/groovy/pull/1687#issuecomment-1041912453 `map.getOrDefault(name,defaultValue)` is another option. The ternary avoids evaluating `defaultValue` if it is not used. -- This is an automated message from the Apache

[GitHub] [groovy] eric-milles opened a new pull request #1687: GROOVY-10497: `@NamedVariant`: don't replace explicit value with default

2022-02-16 Thread GitBox
eric-milles opened a new pull request #1687: URL: https://github.com/apache/groovy/pull/1687 For default values, I want to use `map.containsKey(name) ? map.name : defaultValue` instead of `map.name ?: defaultValue` -- in case `null` or `0` or another falsy value is supplied. This change

[jira] [Created] (GROOVY-10497) NamedVariant: default value overrides supplied value if it's falsy

2022-02-16 Thread Eric Milles (Jira)
Eric Milles created GROOVY-10497: Summary: NamedVariant: default value overrides supplied value if it's falsy Key: GROOVY-10497 URL: https://issues.apache.org/jira/browse/GROOVY-10497 Project: Groovy

[GitHub] [groovy] eric-milles commented on pull request #1686: GROOVY-9158, GROOVY-10176, GROOVY-10484: `NamedParam` checking enhancement

2022-02-16 Thread GitBox
eric-milles commented on pull request #1686: URL: https://github.com/apache/groovy/pull/1686#issuecomment-1041892273 This commit has been reduced to 10484 changes only. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use

[jira] [Created] (GROOVY-10496) Wrong IntRange.by(...) behaviour for left-open ranges

2022-02-16 Thread Timofey Ananyev (Jira)
Timofey Ananyev created GROOVY-10496: Summary: Wrong IntRange.by(...) behaviour for left-open ranges Key: GROOVY-10496 URL: https://issues.apache.org/jira/browse/GROOVY-10496 Project: Groovy

[jira] (GROOVY-10176) @NamedVariant with primitives can't find method

2022-02-16 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10176 ] Eric Milles deleted comment on GROOVY-10176: -- was (Author: emilles): https://github.com/apache/groovy/pull/1686 > @NamedVariant with primitives can't find method >

[jira] [Resolved] (GROOVY-10176) @NamedVariant with primitives can't find method

2022-02-16 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles resolved GROOVY-10176. -- Fix Version/s: 4.0.0 Resolution: Fixed > @NamedVariant with primitives can't find

[jira] [Resolved] (GROOVY-9158) @NamedParam arguments don't get their default value when only named parameters are used in the method call

2022-02-16 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-9158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles resolved GROOVY-9158. - Fix Version/s: 4.0.0 Resolution: Fixed > @NamedParam arguments don't get their default

[jira] (GROOVY-9158) @NamedParam arguments don't get their default value when only named parameters are used in the method call

2022-02-16 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-9158 ] Eric Milles deleted comment on GROOVY-9158: - was (Author: emilles): https://github.com/apache/groovy/pull/1686 > @NamedParam arguments don't get their default value when only named >

[jira] [Created] (GROOVY-10495) Invalid newlines generated by XmlTemplateEngine

2022-02-16 Thread Daniel Sun (Jira)
Daniel Sun created GROOVY-10495: --- Summary: Invalid newlines generated by XmlTemplateEngine Key: GROOVY-10495 URL: https://issues.apache.org/jira/browse/GROOVY-10495 Project: Groovy Issue Type:

[GitHub] [groovy] eric-milles edited a comment on pull request #1686: GROOVY-9158, GROOVY-10176, GROOVY-10484: `NamedParam` checking enhancement

2022-02-16 Thread GitBox
eric-milles edited a comment on pull request #1686: URL: https://github.com/apache/groovy/pull/1686#issuecomment-1041701400 The change for GROOVY-10484 could be separated out. The other changes are to address 10176 and 9158 (which can be argued have been addressed already by changes in

[GitHub] [groovy] eric-milles edited a comment on pull request #1686: GROOVY-9158, GROOVY-10176, GROOVY-10484: `NamedParam` checking enhancement

2022-02-16 Thread GitBox
eric-milles edited a comment on pull request #1686: URL: https://github.com/apache/groovy/pull/1686#issuecomment-1041701400 The change for GROOVY-10484 could be separated out. The other changes are to address 10176 and 9158 (which can be argued have been addressed already by changes in

[GitHub] [groovy] eric-milles edited a comment on pull request #1686: GROOVY-9158, GROOVY-10176, GROOVY-10484: `NamedParam` checking enhancement

2022-02-16 Thread GitBox
eric-milles edited a comment on pull request #1686: URL: https://github.com/apache/groovy/pull/1686#issuecomment-1041701400 The change for GROOVY-10484 could be separated out. The other changes are to address 10176 and 9158 (which can be argued have been addressed already by changes in

[GitHub] [groovy] eric-milles commented on pull request #1686: GROOVY-9158, GROOVY-10176, GROOVY-10484: `NamedParam` checking enhancement

2022-02-16 Thread GitBox
eric-milles commented on pull request #1686: URL: https://github.com/apache/groovy/pull/1686#issuecomment-1041701400 The change for GROOVY-10484 could be separated out. The other changes are to address 10176 and 9158 (which can be argued have been addressed already by changes in Groovy

[jira] [Updated] (GROOVY-10481) Groovy 3.x - @AutoClone breaks in Java17 for File properties

2022-02-16 Thread Scott (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott updated GROOVY-10481: --- Fix Version/s: 3.0.10 (was: 4.0.0-rc-1) > Groovy 3.x - @AutoClone breaks in Java17

[GitHub] [groovy] paulk-asert commented on pull request #1686: GROOVY-9158, GROOVY-10176, GROOVY-10484: `NamedParam` checking enhancement

2022-02-16 Thread GitBox
paulk-asert commented on pull request #1686: URL: https://github.com/apache/groovy/pull/1686#issuecomment-1041493348 I am still looking at the changes. Some effort was put into making primitives behave in an "expected" way but whether we are consistent to what happens elsewhere needs

[jira] [Resolved] (GROOVY-10493) Bump slf4j to 1.7.36 (test dependency)

2022-02-16 Thread Paul King (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul King resolved GROOVY-10493. Fix Version/s: 4.0.1 Assignee: Paul King Resolution: Fixed > Bump slf4j to

[jira] [Resolved] (GROOVY-10491) Bump jqwik to 1.6.4 (test dependency)

2022-02-16 Thread Paul King (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul King resolved GROOVY-10491. Fix Version/s: 4.0.1 Assignee: Paul King Resolution: Fixed > Bump jqwik to 1.6.4

[jira] [Resolved] (GROOVY-10492) Bump picocli to 4.6.3

2022-02-16 Thread Paul King (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul King resolved GROOVY-10492. Fix Version/s: 4.0.1 Assignee: Paul King Resolution: Fixed > Bump picocli to

[jira] [Assigned] (GROOVY-10494) Groovy 4 can not compile super.foo with generic interface method

2022-02-16 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles reassigned GROOVY-10494: Assignee: Eric Milles > Groovy 4 can not compile super.foo with generic interface

[jira] [Created] (GROOVY-10494) Groovy 4 can not compile super.foo with generic interface method

2022-02-16 Thread Xiaoguang Wang (Jira)
Xiaoguang Wang created GROOVY-10494: --- Summary: Groovy 4 can not compile super.foo with generic interface method Key: GROOVY-10494 URL: https://issues.apache.org/jira/browse/GROOVY-10494 Project:

[jira] [Commented] (GROOVY-10454) Performance issue with "Parrot" parser in Groovy 3.x

2022-02-16 Thread Rainer Podlas (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17493081#comment-17493081 ] Rainer Podlas commented on GROOVY-10454: Are there any news on this topic? Anything else that