[jira] [Resolved] (GROOVY-10034) Compiler writes extra cast for Type[] to Object[]

2021-04-13 Thread Paul King (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul King resolved GROOVY-10034. Fix Version/s: 4.0.0-beta-1 Resolution: Fixed Proposed PR merged. > Compiler writes extra

[GitHub] [groovy] danielsun1106 commented on pull request #1556: GROOVY-10034: do not cast non-primitive array when target is Object[]

2021-04-13 Thread GitBox
danielsun1106 commented on pull request #1556: URL: https://github.com/apache/groovy/pull/1556#issuecomment-819131993 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

[GitHub] [groovy] danielsun1106 merged pull request #1556: GROOVY-10034: do not cast non-primitive array when target is Object[]

2021-04-13 Thread GitBox
danielsun1106 merged pull request #1556: URL: https://github.com/apache/groovy/pull/1556 -- 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. For queries about this service, p

[GitHub] [groovy] danielsun1106 commented on a change in pull request #1556: GROOVY-10034: do not cast non-primitive array when target is Object[]

2021-04-13 Thread GitBox
danielsun1106 commented on a change in pull request #1556: URL: https://github.com/apache/groovy/pull/1556#discussion_r612854824 ## File path: src/main/java/org/codehaus/groovy/classgen/asm/OperandStack.java ## @@ -338,6 +338,12 @@ private void doConvertAndCast(ClassNode target

[jira] [Updated] (GROOVY-10035) CLONE - Compiler writes extra cast for Type[] to Object[]

2021-04-13 Thread Daniel Sun (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Sun updated GROOVY-10035: Description: The ticket is to provide some suggestion to tweak the fix of GROOVY-10034 ( https:/

[jira] [Assigned] (GROOVY-10035) CLONE - Compiler writes extra cast for Type[] to Object[]

2021-04-13 Thread Daniel Sun (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Sun reassigned GROOVY-10035: --- Assignee: (was: Eric Milles) > CLONE - Compiler writes extra cast for Type[] to Object

[jira] [Created] (GROOVY-10035) CLONE - Compiler writes extra cast for Type[] to Object[]

2021-04-13 Thread Daniel Sun (Jira)
Daniel Sun created GROOVY-10035: --- Summary: CLONE - Compiler writes extra cast for Type[] to Object[] Key: GROOVY-10035 URL: https://issues.apache.org/jira/browse/GROOVY-10035 Project: Groovy Is

[jira] [Updated] (GROOVY-9958) Prepare for bintray/jcenter sunset

2021-04-13 Thread Paul King (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-9958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul King updated GROOVY-9958: -- Description: Involves: * -Replace {{jcenter}} repositories in build scripts with {{mavenCentral}}- [

[GitHub] [groovy] eric-milles commented on pull request #1558: GROOVY-9017 DGM methods

2021-04-13 Thread GitBox
eric-milles commented on pull request #1558: URL: https://github.com/apache/groovy/pull/1558#issuecomment-818749740 If you wan't "null.or(true)" to work, you would need to provide DGM "or(NullObject,Boolean)". This may be worth creating a separate JIRA issue for consideration. Or you can

[GitHub] [groovy] tomikoskinen commented on pull request #1558: GROOVY-9017 DGM methods

2021-04-13 Thread GitBox
tomikoskinen commented on pull request #1558: URL: https://github.com/apache/groovy/pull/1558#issuecomment-818686976 @eric-milles We made a new Pull Request. Also is it intended that when you call `null.or(true)` it throws an exception, but when you call `true.or(null)` it returns true?

[GitHub] [groovy] tomikoskinen opened a new pull request #1560: GROOVY-9017 DGM methods

2021-04-13 Thread GitBox
tomikoskinen opened a new pull request #1560: URL: https://github.com/apache/groovy/pull/1560 https://issues.apache.org/jira/browse/GROOVY-9017 Instead of making keywords for and, or and not, we added a Boolean not() method in DefaultGroovyMethods to get most of what was wanted. DGM

[GitHub] [groovy] tomikoskinen closed pull request #1558: GROOVY-9017 DGM methods

2021-04-13 Thread GitBox
tomikoskinen closed pull request #1558: URL: https://github.com/apache/groovy/pull/1558 -- 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. For queries about this service, pl