[jira] [Commented] (GROOVY-10239) GroovyCastException when @CompileStatic and !in keyword are used together

2021-09-17 Thread Rodolfo Yanke (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17416934#comment-17416934 ] Rodolfo Yanke commented on GROOVY-10239: That was fast! :) Thank you for the extension method

[jira] [Commented] (GROOVY-10155) Add JDK18 constant

2021-09-17 Thread Keegan Witt (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17416949#comment-17416949 ] Keegan Witt commented on GROOVY-10155: -- bq. 3_0_X does not support Java 16, so I am not sure

[jira] [Comment Edited] (GROOVY-10155) Add JDK18 constant

2021-09-17 Thread Keegan Witt (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17416949#comment-17416949 ] Keegan Witt edited comment on GROOVY-10155 at 9/18/21, 2:48 AM: bq.

[jira] [Resolved] (GROOVY-10238) @CompileStatic @Canonical inner class throws RTE: NoSuchMethodError: java.util.Map.withDefault

2021-09-17 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles resolved GROOVY-10238. -- Fix Version/s: 4.0.0-beta-2 Resolution: Fixed > @CompileStatic @Canonical inner class

[jira] [Assigned] (GROOVY-10240) Support record grammar

2021-09-17 Thread Daniel Sun (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Sun reassigned GROOVY-10240: --- Assignee: Daniel Sun > Support record grammar > -- > >

[jira] [Updated] (GROOVY-10240) Support record grammar

2021-09-17 Thread Daniel Sun (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Sun updated GROOVY-10240: Fix Version/s: 4.0.0-beta-2 > Support record grammar > -- > >

[jira] [Resolved] (GROOVY-10233) Sealed classes should generate native class information for JDK17+

2021-09-17 Thread Paul King (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul King resolved GROOVY-10233. Fix Version/s: 4.0.0-beta-2 Resolution: Fixed Proposed PR merged. > Sealed classes

[jira] [Assigned] (GROOVY-10235) STC: Generic type of Set not correctly resolved when calling ConcurrentHashMap.newKeySet()

2021-09-17 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles reassigned GROOVY-10235: Assignee: Eric Milles > STC: Generic type of Set not correctly resolved when calling >

[jira] [Assigned] (GROOVY-10234) Groovyc throws Stackoverflow error on generic class with lower bound

2021-09-17 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles reassigned GROOVY-10234: Assignee: Eric Milles > Groovyc throws Stackoverflow error on generic class with lower

[jira] [Commented] (GROOVY-10229) Question mark in the attribute for a class name

2021-09-17 Thread Boris Petrov (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17416689#comment-17416689 ] Boris Petrov commented on GROOVY-10229: --- Yes, thanks, something similar to this did the job.

[jira] [Commented] (GROOVY-10224) No owner type of `ParameterizedType` of Java could be represented in `ClassNode`

2021-09-17 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17416720#comment-17416720 ] Eric Milles commented on GROOVY-10224: -- Yes, there will likely be issues for type parameter

[jira] [Resolved] (GROOVY-10049) STC fails when calling a generic method from another generic method

2021-09-17 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles resolved GROOVY-10049. -- Fix Version/s: (was: 4.0.0-beta-1) 4.0.0-beta-2 Resolution:

[jira] [Assigned] (GROOVY-10238) @CompileStatic @Canonical inner class throws RTE: NoSuchMethodError: java.util.Map.withDefault

2021-09-17 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles reassigned GROOVY-10238: Assignee: Eric Milles > @CompileStatic @Canonical inner class throws RTE:

[jira] [Assigned] (GROOVY-10239) GroovyCastException when @CompileStatic and !in keyword are used together

2021-09-17 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles reassigned GROOVY-10239: Assignee: Eric Milles > GroovyCastException when @CompileStatic and !in keyword are

[jira] [Commented] (GROOVY-10240) Support record grammar

2021-09-17 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17416717#comment-17416717 ] Eric Milles commented on GROOVY-10240: -- I'm glad to see continued work towards Java syntax

[jira] [Created] (GROOVY-10241) Class Implementing Map Can't Read Fields From Within Closures

2021-09-17 Thread Ian (Jira)
Ian created GROOVY-10241: Summary: Class Implementing Map Can't Read Fields From Within Closures Key: GROOVY-10241 URL: https://issues.apache.org/jira/browse/GROOVY-10241 Project: Groovy Issue

[jira] [Commented] (GROOVY-10239) GroovyCastException when @CompileStatic and !in keyword are used together

2021-09-17 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17416744#comment-17416744 ] Eric Milles commented on GROOVY-10239: -- The expression "{{!(it.status in [MyEnum.B])}}" is using

[jira] [Commented] (GROOVY-10238) @CompileStatic @Canonical inner class throws RTE: NoSuchMethodError: java.util.Map.withDefault

2021-09-17 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17416847#comment-17416847 ] Eric Milles commented on GROOVY-10238: -- You can side step this bug by moving the field or property

[jira] [Comment Edited] (GROOVY-10238) @CompileStatic @Canonical inner class throws RTE: NoSuchMethodError: java.util.Map.withDefault

2021-09-17 Thread mgroovy (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17416890#comment-17416890 ] mgroovy edited comment on GROOVY-10238 at 9/17/21, 7:24 PM: It only

[jira] [Comment Edited] (GROOVY-10238) @CompileStatic @Canonical inner class throws RTE: NoSuchMethodError: java.util.Map.withDefault

2021-09-17 Thread mgroovy (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17416890#comment-17416890 ] mgroovy edited comment on GROOVY-10238 at 9/17/21, 7:23 PM: It only

[jira] [Commented] (GROOVY-10238) @CompileStatic @Canonical inner class throws RTE: NoSuchMethodError: java.util.Map.withDefault

2021-09-17 Thread mgroovy (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17416890#comment-17416890 ] mgroovy commented on GROOVY-10238: -- It only occurred in one place in our code and I worked around it

[GitHub] [groovy] eric-milles opened a new pull request #1621: SC: skip `ScriptBytecodeAdapter` for `!in` via `isNotCase` extension methods

2021-09-17 Thread GitBox
eric-milles opened a new pull request #1621: URL: https://github.com/apache/groovy/pull/1621 Do these make sense to add as extension methods? I would not expect to see these used directly in code, but they could be, I supppose, if user did not want to prefix expression with `!`. Current

[GitHub] [groovy] eric-milles commented on pull request #1614: GROOVY-8947: convert "new A().new B()" into "new A.B(new A())"

2021-09-17 Thread GitBox
eric-milles commented on pull request #1614: URL: https://github.com/apache/groovy/pull/1614#issuecomment-921965296 Regarding this change request, my single-pass resolver solution, and refactored support for runtime resolution of inner types: I'd like to be able to put this in as a

[jira] [Comment Edited] (GROOVY-10239) GroovyCastException when @CompileStatic and !in keyword are used together

2021-09-17 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17416828#comment-17416828 ] Eric Milles edited comment on GROOVY-10239 at 9/17/21, 5:35 PM: I also

[jira] [Resolved] (GROOVY-10239) GroovyCastException when @CompileStatic and !in keyword are used together

2021-09-17 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles resolved GROOVY-10239. -- Fix Version/s: 4.0.0-beta-2 Resolution: Fixed I also have a proposal that will

[jira] [Commented] (GROOVY-10238) @CompileStatic @Canonical inner class throws RTE: NoSuchMethodError: java.util.Map.withDefault

2021-09-17 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17416836#comment-17416836 ] Eric Milles commented on GROOVY-10238: -- I think this is similar to GROOVY-10104 where a