[jira] [Updated] (GROOVY-8946) @CompileStatic ignores declared type and forces a cast when inside a closure

2023-11-29 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-8946: Fix Version/s: 3.0.20 (was: 3.0.5) > @CompileStatic ignores declared type

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

2023-11-29 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17791159#comment-17791159 ] Eric Milles commented on GROOVY-11229: -- Can you close this and open a new ticket with a

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

2023-11-29 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17791138#comment-17791138 ] Eric Milles commented on GROOVY-11229: -- Pattern matching for record and switch come as separate

[jira] [Resolved] (GROOVY-11230) ProxyGenerator creates a lot of AtomicReference instances regardless of "groovy.adapter.cache.default.size" setting

2023-11-28 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles resolved GROOVY-11230. -- Fix Version/s: 5.0.0-alpha-3 Resolution: Fixed > ProxyGenerator creates a lot of

[jira] [Updated] (GROOVY-8948) BigDecimal to primitive conversion not working

2023-11-28 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-8948: Fix Version/s: 3.0.20 4.0.16 > BigDecimal to primitive conversion not working

[jira] [Updated] (GROOVY-11239) VerifyError for explicit this parameter and default argument(s)

2023-11-28 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-11239: - Fix Version/s: 5.0.0-alpha-4 (was: 5.x) > VerifyError for explicit this

[jira] [Updated] (GROOVY-11239) VerifyError for explicit this parameter and default argument(s)

2023-11-28 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-11239: - Fix Version/s: 5.x > VerifyError for explicit this parameter and default argument(s) >

[jira] [Resolved] (GROOVY-11239) VerifyError for explicit this parameter and default argument(s)

2023-11-28 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles resolved GROOVY-11239. -- Resolution: Fixed

[jira] [Created] (GROOVY-11239) VerifyError for explicit this parameter and default argument(s)

2023-11-28 Thread Eric Milles (Jira)
Eric Milles created GROOVY-11239: Summary: VerifyError for explicit this parameter and default argument(s) Key: GROOVY-11239 URL: https://issues.apache.org/jira/browse/GROOVY-11239 Project: Groovy

[jira] [Commented] (GROOVY-11238) Logical implication operator revisited

2023-11-27 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17790180#comment-17790180 ] Eric Milles commented on GROOVY-11238: -- I think you can write "(i == 0).implies(i == -i)" to use

[jira] [Assigned] (GROOVY-8948) BigDecimal to primitive conversion not working

2023-11-27 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles reassigned GROOVY-8948: --- Assignee: Eric Milles > BigDecimal to primitive conversion not working >

[jira] [Resolved] (GROOVY-8948) BigDecimal to primitive conversion not working

2023-11-27 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles resolved GROOVY-8948. - Fix Version/s: 5.0.0-alpha-3 Resolution: Fixed > BigDecimal to primitive conversion not

[jira] [Resolved] (GROOVY-6260) "Possible solutions" message is confusing because it doesn't reflect whether a property is read-only or write-only

2023-11-24 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-6260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles resolved GROOVY-6260. - Fix Version/s: 5.0.0-alpha-3 Resolution: Fixed

[jira] [Resolved] (GROOVY-8064) Confusing error message when trying to access a property which is actually a method

2023-11-24 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles resolved GROOVY-8064. - Fix Version/s: 5.0.0-alpha-3 Resolution: Fixed

[jira] [Assigned] (GROOVY-6260) "Possible solutions" message is confusing because it doesn't reflect whether a property is read-only or write-only

2023-11-24 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-6260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles reassigned GROOVY-6260: --- Assignee: Eric Milles > "Possible solutions" message is confusing because it doesn't

[jira] [Assigned] (GROOVY-8064) Confusing error message when trying to access a property which is actually a method

2023-11-24 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles reassigned GROOVY-8064: --- Assignee: Eric Milles > Confusing error message when trying to access a property which is

[jira] [Commented] (GROOVY-7934) Type inference breaks for Collection.inject

2023-11-23 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-7934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17789210#comment-17789210 ] Eric Milles commented on GROOVY-7934: -

[jira] [Assigned] (GROOVY-11213) indexOf extension method for arrays

2023-11-23 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles reassigned GROOVY-11213: Assignee: Eric Milles > indexOf extension method for arrays >

[jira] [Resolved] (GROOVY-11213) indexOf extension method for arrays

2023-11-23 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles resolved GROOVY-11213. -- Fix Version/s: 5.0.0-alpha-3 Resolution: Fixed

[jira] [Commented] (GROOVY-7934) Type inference breaks for Collection.inject

2023-11-22 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-7934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17788826#comment-17788826 ] Eric Milles commented on GROOVY-7934: - Changing the closure param type from U to T, there is still a

[jira] [Updated] (GROOVY-7934) Type inference breaks for Collection.inject

2023-11-22 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-7934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-7934: Description: The code below should not compile as the first parameter to the inject method must

[jira] [Commented] (GROOVY-11230) ProxyGenerator creates a lot of AtomicReference instances regardless of "groovy.adapter.cache.default.size" setting

2023-11-21 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17788480#comment-17788480 ] Eric Milles commented on GROOVY-11230: --

[jira] [Resolved] (GROOVY-11225) shouldFail return type

2023-11-21 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles resolved GROOVY-11225. -- Fix Version/s: 5.0.0-alpha-3 Assignee: Eric Milles Resolution: Fixed

[jira] [Comment Edited] (GROOVY-10801) AST transform for simple utility classes (only static fields and methods)

2023-11-21 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17745832#comment-17745832 ] Eric Milles edited comment on GROOVY-10801 at 11/21/23 2:47 PM: Reading

[jira] [Updated] (GROOVY-11231) TupleConstructor could copy annotations to constructor

2023-11-21 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-11231: - Component/s: Compiler > TupleConstructor could copy annotations to constructor >

[jira] [Updated] (GROOVY-11231) TupleConstructor could copy annotations to constructor

2023-11-21 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-11231: - Labels: annotations (was: ) > TupleConstructor could copy annotations to constructor >

[jira] [Updated] (GROOVY-11231) TupleConstructor could copy annotations to constructor

2023-11-21 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-11231: - Language: groovy > TupleConstructor could copy annotations to constructor >

[jira] [Commented] (GROOVY-11231) TupleConstructor could copy annotations to constructor

2023-11-21 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17788436#comment-17788436 ] Eric Milles commented on GROOVY-11231: -- Can you provide a simple example? We have open tickets

[jira] [Commented] (GROOVY-11230) ProxyGenerator creates a lot of AtomicReference instances regardless of "groovy.adapter.cache.default.size" setting

2023-11-20 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17788044#comment-17788044 ] Eric Milles commented on GROOVY-11230: -- The article mentions resizing the map. In our case, we

[jira] [Commented] (GROOVY-11230) ProxyGenerator creates a lot of AtomicReference instances regardless of "groovy.adapter.cache.default.size" setting

2023-11-19 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17787676#comment-17787676 ] Eric Milles commented on GROOVY-11230: -- If an extra class is created in rare circumstances, is

[jira] [Commented] (GROOVY-11230) ProxyGenerator creates a lot of AtomicReference instances regardless of "groovy.adapter.cache.default.size" setting

2023-11-19 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17787628#comment-17787628 ] Eric Milles commented on GROOVY-11230: --

[jira] [Created] (GROOVY-11230) ProxyGenerator creates a lot of AtomicReference instances regardless of "groovy.adapter.cache.default.size" setting

2023-11-19 Thread Eric Milles (Jira)
Eric Milles created GROOVY-11230: Summary: ProxyGenerator creates a lot of AtomicReference instances regardless of "groovy.adapter.cache.default.size" setting Key: GROOVY-11230 URL:

[jira] [Resolved] (GROOVY-11226) Stub generator doesn't generate property accessors

2023-11-19 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles resolved GROOVY-11226. -- Resolution: Cannot Reproduce test case:

[jira] [Assigned] (GROOVY-11226) Stub generator doesn't generate property accessors

2023-11-18 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles reassigned GROOVY-11226: Assignee: Eric Milles > Stub generator doesn't generate property accessors >

[jira] [Created] (GROOVY-11225) shouldFail return type

2023-11-16 Thread Eric Milles (Jira)
Eric Milles created GROOVY-11225: Summary: shouldFail return type Key: GROOVY-11225 URL: https://issues.apache.org/jira/browse/GROOVY-11225 Project: Groovy Issue Type: Improvement

[jira] [Commented] (GROOVY-8254) Alias is ignored in constructor call

2023-11-15 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17786468#comment-17786468 ] Eric Milles commented on GROOVY-8254: -

[jira] [Commented] (GROOVY-8254) Alias is ignored in constructor call

2023-11-14 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17786100#comment-17786100 ] Eric Milles commented on GROOVY-8254: - JLS 7.5.1 says it’s an error to import a name that is the

[jira] [Commented] (GROOVY-8254) Alias is ignored in constructor call

2023-11-14 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17786089#comment-17786089 ] Eric Milles commented on GROOVY-8254: - As it was implemented, alias imports gained precedence over

[jira] [Commented] (GROOVY-8299) Generate bytecode for interface with default, private and static methods

2023-11-14 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17786073#comment-17786073 ] Eric Milles commented on GROOVY-8299: - That's great news! Should this ticket be marked as resolved

[jira] [Resolved] (GROOVY-8254) Alias is ignored in constructor call

2023-11-14 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles resolved GROOVY-8254. - Fix Version/s: 5.0.0-alpha-3 Resolution: Fixed

[jira] [Commented] (GROOVY-8254) Alias is ignored in constructor call

2023-11-14 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17786011#comment-17786011 ] Eric Milles commented on GROOVY-8254: - There should probably be an error or warning for having an

[jira] [Updated] (GROOVY-8254) Alias is ignored in constructor call

2023-11-14 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-8254: Labels: breaking breaking_change (was: ) > Alias is ignored in constructor call >

[jira] [Commented] (GROOVY-8254) Alias is ignored in constructor call

2023-11-14 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17785957#comment-17785957 ] Eric Milles commented on GROOVY-8254: - In order to change the precedence of alias vs.

[jira] [Commented] (GROOVY-8254) Alias is ignored in constructor call

2023-11-14 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17785932#comment-17785932 ] Eric Milles commented on GROOVY-8254: - Both resolve to locally-defined Bar at first. The anon.

[jira] [Assigned] (GROOVY-8254) Alias is ignored in constructor call

2023-11-14 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles reassigned GROOVY-8254: --- Assignee: Eric Milles > Alias is ignored in constructor call >

[jira] [Closed] (GROOVY-8645) ClassCastException after checking of instanceOf

2023-11-14 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles closed GROOVY-8645. --- Resolution: Information Provided > ClassCastException after checking of instanceOf >

[jira] [Closed] (GROOVY-8028) @CompileStatic causes behavioral change in how interfaces work

2023-11-14 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles closed GROOVY-8028. --- Resolution: Not A Bug > @CompileStatic causes behavioral change in how interfaces work >

[jira] [Created] (GROOVY-11223) STC: error message for inaccessible setter is not too helpful

2023-11-13 Thread Eric Milles (Jira)
Eric Milles created GROOVY-11223: Summary: STC: error message for inaccessible setter is not too helpful Key: GROOVY-11223 URL: https://issues.apache.org/jira/browse/GROOVY-11223 Project: Groovy

[jira] [Resolved] (GROOVY-5893) Return type of "inject" is not inferred properly

2023-11-07 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-5893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles resolved GROOVY-5893. - Fix Version/s: 5.0.0-alpha-3 Resolution: Fixed

[jira] [Commented] (GROOVY-7934) Type inference breaks for Collection.inject

2023-11-07 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-7934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17783716#comment-17783716 ] Eric Milles commented on GROOVY-7934: - I took a shot at changing the array-based inject methods and

[jira] [Comment Edited] (GROOVY-7934) Type inference breaks for Collection.inject

2023-11-07 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-7934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17783694#comment-17783694 ] Eric Milles edited comment on GROOVY-7934 at 11/7/23 5:03 PM: -- As noted in

[jira] [Commented] (GROOVY-7934) Type inference breaks for Collection.inject

2023-11-07 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-7934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17783694#comment-17783694 ] Eric Milles commented on GROOVY-7934: - As noted in 5893, the closure param inference comes before

[jira] [Assigned] (GROOVY-5893) Return type of "inject" is not inferred properly

2023-11-06 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-5893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles reassigned GROOVY-5893: --- Assignee: Eric Milles > Return type of "inject" is not inferred properly >

[jira] [Assigned] (GROOVY-7934) Type inference breaks for Collection.inject

2023-11-06 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-7934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles reassigned GROOVY-7934: --- Assignee: Eric Milles > Type inference breaks for Collection.inject >

[jira] [Updated] (GROOVY-7934) Type inference breaks for Collection.inject

2023-11-06 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-7934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-7934: Description: The code below should not compile as the first parameter to the inject method must

[jira] [Updated] (GROOVY-7934) Type inference breaks for Collection.inject

2023-11-06 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-7934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-7934: Description: The code below should not compile as the first parameter to the inject method must

[jira] [Updated] (GROOVY-7934) Type inference breaks for Collection.inject

2023-11-06 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-7934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-7934: Description: The code below should not compile as the first parameter to the inject method must

[jira] [Comment Edited] (GROOVY-7934) Type inference breaks for Collection.inject

2023-11-06 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-7934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17783280#comment-17783280 ] Eric Milles edited comment on GROOVY-7934 at 11/6/23 5:38 PM: -- At best, we

[jira] [Comment Edited] (GROOVY-7934) Type inference breaks for Collection.inject

2023-11-06 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-7934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17783280#comment-17783280 ] Eric Milles edited comment on GROOVY-7934 at 11/6/23 5:19 PM: -- At best, we

[jira] [Comment Edited] (GROOVY-7934) Type inference breaks for Collection.inject

2023-11-06 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-7934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17783280#comment-17783280 ] Eric Milles edited comment on GROOVY-7934 at 11/6/23 5:19 PM: -- At best, we

[jira] [Comment Edited] (GROOVY-7934) Type inference breaks for Collection.inject

2023-11-06 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-7934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17783280#comment-17783280 ] Eric Milles edited comment on GROOVY-7934 at 11/6/23 5:16 PM: -- At best, we

[jira] [Comment Edited] (GROOVY-7934) Type inference breaks for Collection.inject

2023-11-06 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-7934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17783280#comment-17783280 ] Eric Milles edited comment on GROOVY-7934 at 11/6/23 5:14 PM: -- At best, we

[jira] [Comment Edited] (GROOVY-7934) Type inference breaks for Collection.inject

2023-11-06 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-7934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17783280#comment-17783280 ] Eric Milles edited comment on GROOVY-7934 at 11/6/23 5:02 PM: -- At best, we

[jira] [Comment Edited] (GROOVY-7934) Type inference breaks for Collection.inject

2023-11-06 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-7934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17783280#comment-17783280 ] Eric Milles edited comment on GROOVY-7934 at 11/6/23 5:02 PM: -- At best, we

[jira] [Comment Edited] (GROOVY-7934) Type inference breaks for Collection.inject

2023-11-06 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-7934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17783280#comment-17783280 ] Eric Milles edited comment on GROOVY-7934 at 11/6/23 4:57 PM: -- At best, we

[jira] [Commented] (GROOVY-7934) Type inference breaks for Collection.inject

2023-11-06 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-7934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17783285#comment-17783285 ] Eric Milles commented on GROOVY-7934: - Another way to go, if creating replacements for {{inject}}

[jira] [Commented] (GROOVY-7934) Type inference breaks for Collection.inject

2023-11-06 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-7934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17783280#comment-17783280 ] Eric Milles commented on GROOVY-7934: - At best, we can say that "T" in variant one and "E" in

[jira] [Commented] (GROOVY-7934) Type inference breaks for Collection.inject

2023-11-06 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-7934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17783275#comment-17783275 ] Eric Milles commented on GROOVY-7934: - The approach taken by Java (aka {{Stream#reduce}}) is to

[jira] [Commented] (GROOVY-7934) Type inference breaks for Collection.inject

2023-11-04 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-7934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17782934#comment-17782934 ] Eric Milles commented on GROOVY-7934: - I missed the ClosureParams metadata because it is not showing

[jira] [Commented] (GROOVY-7934) Type inference breaks for Collection.inject

2023-11-04 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-7934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17782901#comment-17782901 ] Eric Milles commented on GROOVY-7934: - This is not so much a problem with the type checker as it is

[jira] [Created] (GROOVY-11213) indexOf extension method for arrays

2023-11-03 Thread Eric Milles (Jira)
Eric Milles created GROOVY-11213: Summary: indexOf extension method for arrays Key: GROOVY-11213 URL: https://issues.apache.org/jira/browse/GROOVY-11213 Project: Groovy Issue Type:

[jira] [Commented] (GROOVY-8992) [GEP]Polish the generics type syntax for closure

2023-11-03 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17782735#comment-17782735 ] Eric Milles commented on GROOVY-8992: - There was discussion in another ticket to add the

[jira] [Closed] (GROOVY-8799) Postpone changes in list's pop and push to version 3.x

2023-11-03 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8799?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles closed GROOVY-8799. --- Resolution: Won't Do > Postpone changes in list's pop and push to version 3.x >

[jira] [Closed] (GROOVY-8798) Mention changes in `pop` method for lists in 2.5.x breaking changes

2023-11-03 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles closed GROOVY-8798. --- Resolution: Information Provided > Mention changes in `pop` method for lists in 2.5.x breaking

[jira] [Closed] (GROOVY-8770) CompileStatic ignores missing return statement

2023-11-03 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles closed GROOVY-8770. --- Resolution: Information Provided You could add a type-checking extension script that checks for

[jira] [Closed] (GROOVY-10703) The groovy-bom.pom file does not contain groovy-indy version

2023-11-03 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles closed GROOVY-10703. Resolution: Won't Do Groovy 4+ has indy without classifier > The groovy-bom.pom file does not

[jira] [Closed] (GROOVY-8697) Groovy 2.5 all indy pom should be available

2023-11-03 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles closed GROOVY-8697. --- Resolution: Won't Do > Groovy 2.5 all indy pom should be available >

[jira] [Closed] (GROOVY-9002) groovy-all-2.5.4-indy not available in mavenCentral

2023-11-03 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-9002?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles closed GROOVY-9002. --- Resolution: Won't Do > groovy-all-2.5.4-indy not available in mavenCentral >

[jira] [Closed] (GROOVY-8663) Change @CompileStatic to a keyword

2023-11-03 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles closed GROOVY-8663. --- Resolution: Won't Do > Change @CompileStatic to a keyword > -- > >

[jira] [Assigned] (GROOVY-8566) Array initialization from list literal without "as" should be supported under static compilation for multi-dimension arrays

2023-11-03 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles reassigned GROOVY-8566: --- Assignee: (was: Eric Milles) > Array initialization from list literal without "as"

[jira] [Closed] (GROOVY-8459) Closure with return value coercion problem in overloaded methods

2023-11-03 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles closed GROOVY-8459. --- Resolution: Information Provided {{Closure}}'s {{run()}} method simply delegates to {{call()}} and

[jira] [Updated] (GROOVY-8459) Closure with return value coercion problem in overloaded methods

2023-11-03 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-8459: Description: Hi,      In following method overloading code, a closure with return value are

[jira] [Assigned] (GROOVY-8459) Closure with return value coercion problem in overloaded methods

2023-11-03 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles reassigned GROOVY-8459: --- Assignee: Eric Milles > Closure with return value coercion problem in overloaded methods >

[jira] [Updated] (GROOVY-8459) Closure with return value coercion problem in overloaded methods

2023-11-03 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-8459: Description: Hi,      In following method overloading code, a closure with return value are

[jira] [Closed] (GROOVY-8328) Callable properties doesn't work with Java objects via closure delegate

2023-11-03 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles closed GROOVY-8328. --- Resolution: Fixed calls closure properly > Callable properties doesn't work with Java objects via

[jira] [Assigned] (GROOVY-8328) Callable properties doesn't work with Java objects via closure delegate

2023-11-03 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles reassigned GROOVY-8328: --- Assignee: Eric Milles > Callable properties doesn't work with Java objects via closure

[jira] [Commented] (GROOVY-8299) Generate bytecode for interface with default, private and static methods

2023-11-03 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17782710#comment-17782710 ] Eric Milles commented on GROOVY-8299: - [~blackdrag] Is this resolved or is there more to do? Is

[jira] [Closed] (GROOVY-8256) Regression in handling of properties of objects that implement the Map interface

2023-11-03 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles closed GROOVY-8256. --- Resolution: Fixed Explicit access method is preferred over dynamic property now. > Regression in

[jira] [Assigned] (GROOVY-8215) Implicit .call doesn't work with operators

2023-11-03 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles reassigned GROOVY-8215: --- Assignee: Eric Milles > Implicit .call doesn't work with operators >

[jira] [Closed] (GROOVY-8215) Implicit .call doesn't work with operators

2023-11-03 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles closed GROOVY-8215. --- Resolution: Fixed All cases execute consistently > Implicit .call doesn't work with operators >

[jira] [Closed] (GROOVY-8214) Implicit .call is inconsistent

2023-11-03 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles closed GROOVY-8214. --- Resolution: Fixed All cases execute consistently > Implicit .call is inconsistent >

[jira] [Assigned] (GROOVY-8214) Implicit .call is inconsistent

2023-11-03 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles reassigned GROOVY-8214: --- Assignee: Eric Milles > Implicit .call is inconsistent > -- >

[jira] [Closed] (GROOVY-8146) Callable properties of closure delegate cannot be called implicitly

2023-11-03 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles closed GROOVY-8146. --- Resolution: Fixed Groovy 3: callable property {{delegateMember}} works fine and script prints

[jira] [Updated] (GROOVY-8146) Callable properties of closure delegate cannot be called implicitly

2023-11-03 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-8146: Issue Type: Bug (was: Improvement) > Callable properties of closure delegate cannot be called

[jira] [Assigned] (GROOVY-8146) Callable properties of closure delegate cannot be called implicitly

2023-11-03 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles reassigned GROOVY-8146: --- Assignee: Eric Milles > Callable properties of closure delegate cannot be called

[jira] [Updated] (GROOVY-8146) Callable properties of closure delegate cannot be called implicitly

2023-11-03 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-8146: Language: groovy > Callable properties of closure delegate cannot be called implicitly >

[jira] [Updated] (GROOVY-8146) Callable properties of closure delegate cannot be called implicitly

2023-11-03 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-8146: Environment: (was: Windows 7 x64 with runtime from

[jira] [Assigned] (GROOVY-8036) Compiler throws NPE

2023-11-03 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles reassigned GROOVY-8036: --- Assignee: Eric Milles > Compiler throws NPE > --- > > Key:

[jira] [Closed] (GROOVY-8036) Compiler throws NPE

2023-11-03 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles closed GROOVY-8036. --- Resolution: Fixed Type checker now reports "Incorrect number of parameters. Expected 1 but found

[jira] [Closed] (GROOVY-8029) Static compilation fails when using collectMany and elvis operator

2023-11-03 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles closed GROOVY-8029. --- > Static compilation fails when using collectMany and elvis operator >

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