[jira] [Assigned] (GROOVY-8423) Private and protected inner classes have incorrect access modifier values

2018-01-08 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha reassigned GROOVY-8423: -- Assignee: Shil Sinha > Private and protected inner classes have incorrect access modifier

[jira] [Created] (GROOVY-8423) Private and protected inner classes have incorrect access modifier values

2017-12-23 Thread Shil Sinha (JIRA)
Shil Sinha created GROOVY-8423: -- Summary: Private and protected inner classes have incorrect access modifier values Key: GROOVY-8423 URL: https://issues.apache.org/jira/browse/GROOVY-8423 Project:

[jira] [Resolved] (GROOVY-8402) GroovyScriptEngine.ScriptClassLoader applies compilation customizers twice

2017-12-11 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha resolved GROOVY-8402. Resolution: Fixed Fix Version/s: 2.4.14 > GroovyScriptEngine.ScriptClassLoader applies

[jira] [Updated] (GROOVY-8402) GroovyScriptEngine.ScriptClassLoader applies compilation customizers twice

2017-12-03 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha updated GROOVY-8402: --- Component/s: Compiler > GroovyScriptEngine.ScriptClassLoader applies compilation customizers twice >

[jira] [Updated] (GROOVY-8402) GroovyScriptEngine.ScriptClassLoader applies compilation customizers twice

2017-12-03 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha updated GROOVY-8402: --- Component/s: (was: Compiler) GroovyScriptEngine >

[jira] [Created] (GROOVY-8402) GroovyScriptEngine.ScriptClassLoader applies compilation customizers twice

2017-12-03 Thread Shil Sinha (JIRA)
Shil Sinha created GROOVY-8402: -- Summary: GroovyScriptEngine.ScriptClassLoader applies compilation customizers twice Key: GROOVY-8402 URL: https://issues.apache.org/jira/browse/GROOVY-8402 Project:

[jira] [Assigned] (GROOVY-8360) Enums that are nested classes do not have the static modifier set

2017-11-04 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha reassigned GROOVY-8360: -- Assignee: Shil Sinha > Enums that are nested classes do not have the static modifier set >

[jira] [Updated] (GROOVY-8360) Enums that are nested classes do not have the static modifier set

2017-11-04 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha updated GROOVY-8360: --- Fix Version/s: 2.5.0-beta-3 > Enums that are nested classes do not have the static modifier set >

[jira] [Commented] (GROOVY-8369) Enum property access not working with @CompileStatic

2017-11-01 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16234312#comment-16234312 ] Shil Sinha commented on GROOVY-8369: Thanks for reviewing and handling the rest of the backports

[jira] [Assigned] (GROOVY-8369) Enum property access not working with @CompileStatic

2017-10-31 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha reassigned GROOVY-8369: -- Assignee: Shil Sinha > Enum property access not working with @CompileStatic >

[jira] [Commented] (GROOVY-8355) Instanceof inference does not work on field assigning

2017-10-17 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16207898#comment-16207898 ] Shil Sinha commented on GROOVY-8355: This shouldn't be expected to work since the type checker can't

[jira] [Commented] (GROOVY-7859) Erroneous method pointer expressions pass STC

2017-10-14 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16204699#comment-16204699 ] Shil Sinha commented on GROOVY-7859: [~emilles] That issue was addressed in

[jira] [Resolved] (GROOVY-8074) @CompileStatic class property accessed instead of map property

2017-05-11 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha resolved GROOVY-8074. Resolution: Fixed Fix Version/s: 2.4.12 > @CompileStatic class property accessed instead of

[jira] [Resolved] (GROOVY-8157) Flow typing doesn't work with assignment to a parameter

2017-05-11 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha resolved GROOVY-8157. Resolution: Fixed Assignee: Shil Sinha Fix Version/s: 2.4.12 > Flow typing doesn't

[jira] [Assigned] (GROOVY-8074) @CompileStatic class property accessed instead of map property

2017-05-11 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha reassigned GROOVY-8074: -- Assignee: Shil Sinha > @CompileStatic class property accessed instead of map property >

[jira] [Commented] (GROOVY-8169) StaticCompilationVisitor.visitForLoop sets Parameter origin type, which prevents access to original source type and location

2017-05-05 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15999249#comment-15999249 ] Shil Sinha commented on GROOVY-8169: That line was added as part of the fix for GROOVY-5641, but all

[jira] [Resolved] (GROOVY-8132) Properties of @Delegate fields are preferred to those in the owning class

2017-04-17 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha resolved GROOVY-8132. Resolution: Fixed Fix Version/s: 2.5.0-beta-1 [~paulk] Thanks for looking into it. I had

[jira] [Created] (GROOVY-8132) Properties of @Delegate fields are preferred to those in the owning class

2017-03-27 Thread Shil Sinha (JIRA)
Shil Sinha created GROOVY-8132: -- Summary: Properties of @Delegate fields are preferred to those in the owning class Key: GROOVY-8132 URL: https://issues.apache.org/jira/browse/GROOVY-8132 Project:

[jira] [Resolved] (GROOVY-8069) Annotation based logging of complex expression in closure throws GroovyCastException when statically compiled

2017-02-02 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha resolved GROOVY-8069. Resolution: Fixed Fix Version/s: 2.4.9 > Annotation based logging of complex expression in

[jira] [Created] (GROOVY-8069) Annotation based logging of complex expression in closure throws GroovyCastException when statically compiled

2017-02-01 Thread Shil Sinha (JIRA)
Shil Sinha created GROOVY-8069: -- Summary: Annotation based logging of complex expression in closure throws GroovyCastException when statically compiled Key: GROOVY-8069 URL:

[jira] [Resolved] (GROOVY-8033) STC: spread property references fails in static method

2017-01-09 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha resolved GROOVY-8033. Resolution: Fixed Fix Version/s: 2.5.0-beta-1 > STC: spread property references fails in

[jira] [Commented] (GROOVY-8004) CompileStatic ImmutableList.size() calls DefaultGroovyMethods.size(Iterable)

2017-01-05 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15802836#comment-15802836 ] Shil Sinha commented on GROOVY-8004: Didn't have much time to look at this, but it appears to be a

[jira] [Assigned] (GROOVY-8033) STC: spread property references fails in static method

2017-01-04 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha reassigned GROOVY-8033: -- Assignee: Shil Sinha > STC: spread property references fails in static method >

[jira] [Commented] (GROOVY-6738) Type checking considers extension methods but not extension properties

2016-11-07 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-6738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15644897#comment-15644897 ] Shil Sinha commented on GROOVY-6738: Yes, thanks for reminding me. > Type checking considers

[jira] [Resolved] (GROOVY-6738) Type checking considers extension methods but not extension properties

2016-11-07 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-6738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha resolved GROOVY-6738. Resolution: Fixed Assignee: Shil Sinha Fix Version/s: 2.4.8 > Type checking

[jira] [Commented] (GROOVY-7972) Strange compilation error with an "as" cast and a nested generics map

2016-10-16 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15580232#comment-15580232 ] Shil Sinha commented on GROOVY-7972: This isn't exclusive to maps; lines ending with '>>' as part

[jira] [Commented] (GROOVY-7971) @CS flow typing incorrectly casting to map at runtime

2016-10-16 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15580208#comment-15580208 ] Shil Sinha commented on GROOVY-7971: This only seems to happen for calls to type-overloaded methods

[jira] [Assigned] (GROOVY-7932) Cannot call private constructor from closures with @CompileStatic

2016-10-09 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha reassigned GROOVY-7932: -- Assignee: Shil Sinha > Cannot call private constructor from closures with @CompileStatic >

[jira] [Updated] (GROOVY-7953) Property expressions for extension methods on primitives fail STC

2016-10-09 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha updated GROOVY-7953: --- Fix Version/s: (was: 2.5.0-beta-1) 2.4.8 > Property expressions for extension

[jira] [Resolved] (GROOVY-7953) Property expressions for extension methods on primitives fail STC

2016-10-09 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha resolved GROOVY-7953. Resolution: Fixed Fix Version/s: 2.5.0-beta-1 > Property expressions for extension methods

[jira] [Commented] (GROOVY-7932) Cannot call private constructor from closures with @CompileStatic

2016-10-08 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15558634#comment-15558634 ] Shil Sinha commented on GROOVY-7932: The static compiler needs to generate bridge methods for

[jira] [Commented] (GROOVY-6349) Static type checking error when accessing class of a primitive type

2016-10-06 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-6349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15553324#comment-15553324 ] Shil Sinha commented on GROOVY-6349: Fixed as of 2.4.1. > Static type checking error when accessing

[jira] [Commented] (GROOVY-6351) Static type checking error when accessing static members of a primitive type

2016-10-06 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-6351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15553306#comment-15553306 ] Shil Sinha commented on GROOVY-6351: Fixed as of 2.4.1. > Static type checking error when accessing

[jira] [Closed] (GROOVY-7962) ObjectRange should throw an Exception intead of return null

2016-10-06 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha closed GROOVY-7962. -- Resolution: Duplicate > ObjectRange should throw an Exception intead of return null >

[jira] [Updated] (GROOVY-7952) Property expressions for extension methods starting with 'is' fail STC

2016-10-05 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha updated GROOVY-7952: --- Fix Version/s: (was: 2.5.0-beta-1) 2.4.8 > Property expressions for extension

[jira] [Resolved] (GROOVY-7952) Property expressions for extension methods starting with 'is' fail STC

2016-10-05 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha resolved GROOVY-7952. Resolution: Fixed Fix Version/s: 2.5.0-beta-1 > Property expressions for extension methods

[jira] [Comment Edited] (GROOVY-6738) Type checking considers extension methods but not extension properties

2016-10-04 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-6738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15543933#comment-15543933 ] Shil Sinha edited comment on GROOVY-6738 at 10/4/16 7:17 PM: - This appears to

[jira] [Comment Edited] (GROOVY-6738) Type checking considers extension methods but not extension properties

2016-10-04 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-6738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15543933#comment-15543933 ] Shil Sinha edited comment on GROOVY-6738 at 10/4/16 7:17 PM: - This appears to

[jira] [Updated] (GROOVY-7953) Property expressions for extension methods on primitives fail STC

2016-10-03 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha updated GROOVY-7953: --- Affects Version/s: 2.4.7 > Property expressions for extension methods on primitives fail STC >

[jira] [Created] (GROOVY-7953) Property expressions for extension methods on primitives fail STC

2016-10-03 Thread Shil Sinha (JIRA)
Shil Sinha created GROOVY-7953: -- Summary: Property expressions for extension methods on primitives fail STC Key: GROOVY-7953 URL: https://issues.apache.org/jira/browse/GROOVY-7953 Project: Groovy

[jira] [Created] (GROOVY-7952) Property expressions for extension methods starting with 'is' fail STC

2016-10-03 Thread Shil Sinha (JIRA)
Shil Sinha created GROOVY-7952: -- Summary: Property expressions for extension methods starting with 'is' fail STC Key: GROOVY-7952 URL: https://issues.apache.org/jira/browse/GROOVY-7952 Project: Groovy

[jira] [Resolved] (GROOVY-7870) Implicit returns of transformed binary expressions do not have line numbers when statically compiled

2016-07-06 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha resolved GROOVY-7870. Resolution: Fixed Assignee: Shil Sinha Fix Version/s: 2.4.8 > Implicit returns of

[jira] [Assigned] (GROOVY-7044) Cloned NodeBuilder created nodes share values (child nodes) with original node.

2016-07-02 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7044?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha reassigned GROOVY-7044: -- Assignee: Shil Sinha > Cloned NodeBuilder created nodes share values (child nodes) with

[jira] [Updated] (GROOVY-7558) Error when referencing private member variables from within a closure

2016-07-02 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha updated GROOVY-7558: --- Fix Version/s: (was: 2.5.0-beta-1) 2.4.8 > Error when referencing private

[jira] [Resolved] (GROOVY-7558) Error when referencing private member variables from within a closure

2016-07-02 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha resolved GROOVY-7558. Resolution: Fixed Fix Version/s: 2.5.0-beta-1 > Error when referencing private member

[jira] [Updated] (GROOVY-7863) Statically compiled calls to private outer class methods fail with multiple levels of nesting

2016-07-02 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha updated GROOVY-7863: --- Fix Version/s: (was: 2.5.0-beta-1) 2.4.8 > Statically compiled calls to

[jira] [Commented] (GROOVY-7870) Implicit returns of transformed binary expressions do not have line numbers when statically compiled

2016-06-23 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15346592#comment-15346592 ] Shil Sinha commented on GROOVY-7870: I have code ready for a PR, but I haven't had a chance to push

[jira] [Updated] (GROOVY-7870) Implicit returns of transformed binary expressions do not have line numbers when statically compiled

2016-06-21 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha updated GROOVY-7870: --- Description: If certain transformed binary expressions (<=>, ==, <<, >>, >>>) are implicitly

[jira] [Updated] (GROOVY-7870) Implicit returns of transformed binary expressions do not have line numbers when statically compiled

2016-06-21 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha updated GROOVY-7870: --- Description: If certain transformed binary expressions (<=>, ==, <<, >>, >>>) are implicitly

[jira] [Updated] (GROOVY-7870) Implicit returns of transformed binary expressions do not have line numbers when statically compiled

2016-06-21 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha updated GROOVY-7870: --- Description: If certain transformed binary expressions (<=>, ==, <<, >>, >>>) are implicitly

[jira] [Created] (GROOVY-7870) Implicit returns of transformed binary expressions do not have line numbers when statically compiled

2016-06-21 Thread Shil Sinha (JIRA)
Shil Sinha created GROOVY-7870: -- Summary: Implicit returns of transformed binary expressions do not have line numbers when statically compiled Key: GROOVY-7870 URL: https://issues.apache.org/jira/browse/GROOVY-7870

[jira] [Resolved] (GROOVY-7863) Statically compiled calls to private outer class methods fail with multiple levels of nesting

2016-06-15 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha resolved GROOVY-7863. Resolution: Fixed Fix Version/s: 2.5.0-beta-1 > Statically compiled calls to private outer

[jira] [Updated] (GROOVY-7863) Statically compiled calls to private outer class methods fail with multiple levels of nesting

2016-06-14 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha updated GROOVY-7863: --- Description: Example: {code} @groovy.transform.CompileStatic class A { private int bar() { 123 }

[jira] [Updated] (GROOVY-7863) Statically compiled calls to private outer class methods fail with multiple levels of nesting

2016-06-14 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha updated GROOVY-7863: --- Description: Example: {code} @groovy.transform.CompileStatic class A { private int bar() { 123 }

[jira] [Created] (GROOVY-7863) Statically compiled calls to private outer class methods fail with multiple levels of nesting

2016-06-14 Thread Shil Sinha (JIRA)
Shil Sinha created GROOVY-7863: -- Summary: Statically compiled calls to private outer class methods fail with multiple levels of nesting Key: GROOVY-7863 URL: https://issues.apache.org/jira/browse/GROOVY-7863

[jira] [Created] (GROOVY-7862) Statically compiled calls to protected methods of an outerclass' superclass result in IllegalAccessErrors

2016-06-13 Thread Shil Sinha (JIRA)
Shil Sinha created GROOVY-7862: -- Summary: Statically compiled calls to protected methods of an outerclass' superclass result in IllegalAccessErrors Key: GROOVY-7862 URL:

[jira] [Commented] (GROOVY-7861) asType(null) called in @CompileStatic method returns a string 'null'

2016-06-13 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15328607#comment-15328607 ] Shil Sinha commented on GROOVY-7861: I tested this on 2.0.0, 2.1.0, and 2.4.0; it seems to always

[jira] [Assigned] (GROOVY-7859) Erroneous method pointer expressions pass STC

2016-06-11 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha reassigned GROOVY-7859: -- Assignee: Shil Sinha > Erroneous method pointer expressions pass STC >

[jira] [Updated] (GROOVY-7859) Erroneous method pointer expressions pass STC

2016-06-11 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha updated GROOVY-7859: --- Description: Method pointer expressions are not type checked (with STC enabled). The following

[jira] [Updated] (GROOVY-7859) Erroneous method pointer expressions pass STC

2016-06-11 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha updated GROOVY-7859: --- Summary: Erroneous method pointer expressions pass STC (was: Method pointers to non-static methods

[jira] [Created] (GROOVY-7859) Method pointers to non-static methods from a class objects should fail STC

2016-06-10 Thread Shil Sinha (JIRA)
Shil Sinha created GROOVY-7859: -- Summary: Method pointers to non-static methods from a class objects should fail STC Key: GROOVY-7859 URL: https://issues.apache.org/jira/browse/GROOVY-7859 Project:

[jira] [Updated] (GROOVY-7849) Incompatible covariant array return type

2016-06-05 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha updated GROOVY-7849: --- Fix Version/s: (was: 2.5.0-beta-1) 2.4.8 > Incompatible covariant array

[jira] [Updated] (GROOVY-7185) Impossible to override method with generic array of Java class.

2016-06-05 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha updated GROOVY-7185: --- Fix Version/s: (was: 2.5.0-beta-1) 2.4.8 > Impossible to override method with

[jira] [Resolved] (GROOVY-7185) Impossible to override method with generic array of Java class.

2016-06-04 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha resolved GROOVY-7185. Resolution: Fixed Assignee: Shil Sinha Fix Version/s: 2.5.0-beta-1 Fixed by

[jira] [Resolved] (GROOVY-7849) Incompatible covariant array return type

2016-06-03 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha resolved GROOVY-7849. Resolution: Fixed Fix Version/s: 2.5.0-beta-1 > Incompatible covariant array return type >

[jira] [Assigned] (GROOVY-7849) Incompatible covariant array return type

2016-06-03 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha reassigned GROOVY-7849: -- Assignee: Shil Sinha > Incompatible covariant array return type >

[jira] [Commented] (GROOVY-7849) Incompatible covariant array return type

2016-06-02 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15312418#comment-15312418 ] Shil Sinha commented on GROOVY-7849: The error occurs without I2 as well e.g. if C implements I

[jira] [Updated] (GROOVY-7185) Impossible to override method with generic array of Java class.

2016-06-02 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha updated GROOVY-7185: --- Affects Version/s: 2.4.6 > Impossible to override method with generic array of Java class. >

[jira] [Commented] (GROOVY-7185) Impossible to override method with generic array of Java class.

2016-06-02 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15312411#comment-15312411 ] Shil Sinha commented on GROOVY-7185: This happens in 2.4.6 as well, even if A and B are groovy

[jira] [Resolved] (GROOVY-7804) @CompileStatic/@TypeChecked unexpected NullpointerException compiler bug

2016-04-26 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha resolved GROOVY-7804. Resolution: Fixed Fix Version/s: 2.4.7 > @CompileStatic/@TypeChecked unexpected

[jira] [Assigned] (GROOVY-7804) @CompileStatic/@TypeChecked unexpected NullpointerException compiler bug

2016-04-26 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha reassigned GROOVY-7804: -- Assignee: Shil Sinha > @CompileStatic/@TypeChecked unexpected NullpointerException compiler

[jira] [Created] (GROOVY-7813) Calling a non-static outer class method from a static class passes STC

2016-04-09 Thread Shil Sinha (JIRA)
Shil Sinha created GROOVY-7813: -- Summary: Calling a non-static outer class method from a static class passes STC Key: GROOVY-7813 URL: https://issues.apache.org/jira/browse/GROOVY-7813 Project: Groovy

[jira] [Commented] (GROOVY-7803) Java annotation with

2016-04-05 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15226704#comment-15226704 ] Shil Sinha commented on GROOVY-7803: Closing as a duplicate of GROOVY-7151. The fix will be in 2.5.0.

[jira] [Resolved] (GROOVY-7758) GroovyCastException when both @CompileStatic and @Newify are used

2016-03-19 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha resolved GROOVY-7758. Resolution: Fixed > GroovyCastException when both @CompileStatic and @Newify are used >

[jira] [Assigned] (GROOVY-7758) GroovyCastException when both @CompileStatic and @Newify are used

2016-03-14 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha reassigned GROOVY-7758: -- Assignee: Shil Sinha > GroovyCastException when both @CompileStatic and @Newify are used >

[jira] [Commented] (GROOVY-7758) GroovyCastException when both @CompileStatic and @Newify are used

2016-03-14 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15193942#comment-15193942 ] Shil Sinha commented on GROOVY-7758: This occurs because 'implicitThis' is not set correctly in

[jira] [Comment Edited] (GROOVY-7774) Collection addAll fails CompileStatic type checking when adding a collection of subtypes

2016-03-14 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15193509#comment-15193509 ] Shil Sinha edited comment on GROOVY-7774 at 3/14/16 3:47 PM: - The compiler

[jira] [Comment Edited] (GROOVY-7774) Collection addAll fails CompileStatic type checking when adding a collection of subtypes

2016-03-14 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15193509#comment-15193509 ] Shil Sinha edited comment on GROOVY-7774 at 3/14/16 3:46 PM: - The compiler

[jira] [Commented] (GROOVY-7774) Collection addAll fails CompileStatic type checking when adding a collection of subtypes

2016-03-14 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15193509#comment-15193509 ] Shil Sinha commented on GROOVY-7774: The compiler determines the target method for

[jira] [Commented] (GROOVY-7784) TypeChecked/CompileStatic: IndexOutOfBoundsException

2016-03-14 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15193450#comment-15193450 ] Shil Sinha commented on GROOVY-7784: This occurs during SAM type inference when the target method has

[jira] [Commented] (GROOVY-7787) leftShift in simple closure won't CompileStatic

2016-03-13 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15192739#comment-15192739 ] Shil Sinha commented on GROOVY-7787: This looks like a duplicate of

[jira] [Commented] (GROOVY-7767) Single-parameter method chosen zero parameters passed

2016-02-25 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15167680#comment-15167680 ] Shil Sinha commented on GROOVY-7767: This problem and a possible workaround are also discussed here -

[jira] [Resolved] (GROOVY-7312) Compiler generates invalid inner class constructor

2016-02-24 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha resolved GROOVY-7312. Resolution: Fixed Fix Version/s: 2.4.7 > Compiler generates invalid inner class constructor

[jira] [Assigned] (GROOVY-7312) Compiler generates invalid inner class constructor

2016-02-24 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha reassigned GROOVY-7312: -- Assignee: Shil Sinha > Compiler generates invalid inner class constructor >

[jira] [Commented] (GROOVY-7753) regression of return type from ternary operator

2016-02-22 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15157180#comment-15157180 ] Shil Sinha commented on GROOVY-7753: Changed the title to reflect that this issue is about the

[jira] [Updated] (GROOVY-7705) CompileStatic closure accessing "thisObject" private field: setProperty instead of synthetic method

2016-02-05 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha updated GROOVY-7705: --- Fix Version/s: (was: 2.5.0-beta-1) 2.4.6 > CompileStatic closure accessing

[jira] [Comment Edited] (GROOVY-7741) StackoverflowError with Closure and CompileStatic

2016-02-05 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15135035#comment-15135035 ] Shil Sinha edited comment on GROOVY-7741 at 2/5/16 9:27 PM: The closure

[jira] [Comment Edited] (GROOVY-7741) StackoverflowError with Closure and CompileStatic

2016-02-05 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15135035#comment-15135035 ] Shil Sinha edited comment on GROOVY-7741 at 2/5/16 9:31 PM: The closure

[jira] [Commented] (GROOVY-7705) CompileStatic closure accessing "thisObject" private field: setProperty instead of synthetic method

2016-02-05 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15135017#comment-15135017 ] Shil Sinha commented on GROOVY-7705: [~gillius] This fix will be in 2.4.6. > CompileStatic closure

[jira] [Assigned] (GROOVY-7627) Property calls are not correctly type checked if the setter parameter type or getter return type are not the field type

2016-01-20 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha reassigned GROOVY-7627: -- Assignee: Shil Sinha > Property calls are not correctly type checked if the setter parameter

[jira] [Assigned] (GROOVY-7705) CompileStatic closure accessing "thisObject" private field: setProperty instead of synthetic method

2016-01-13 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha reassigned GROOVY-7705: -- Assignee: Shil Sinha (was: Cédric Champeau) > CompileStatic closure accessing "thisObject"

[jira] [Commented] (GROOVY-6468) Unable to call private method/constructor from static inner class with @CompileStatic

2016-01-03 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-6468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15080517#comment-15080517 ] Shil Sinha commented on GROOVY-6468: This should only be an issue for private constructors, as other

[jira] [Resolved] (GROOVY-7702) @CompileStatic and the method with(Closure) seem to determine wrong type

2015-12-29 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha resolved GROOVY-7702. Resolution: Fixed Assignee: Shil Sinha Fix Version/s: 2.4.6 > @CompileStatic and

[jira] [Resolved] (GROOVY-7036) An interface implementation (override) with a method including a default parameter value does not compile

2015-12-29 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shil Sinha resolved GROOVY-7036. Resolution: Fixed Assignee: Shil Sinha Fix Version/s: 2.4.6 > An interface

[jira] [Comment Edited] (GROOVY-7709) NPE with ConvertedClosure

2015-12-26 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15072013#comment-15072013 ] Shil Sinha edited comment on GROOVY-7709 at 12/26/15 11:41 PM: --- Yes, the

[jira] [Commented] (GROOVY-6825) Static compiler does not always make direct setter call inside inner class

2015-12-08 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-6825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15047049#comment-15047049 ] Shil Sinha commented on GROOVY-6825: In Groovy 2.4.5, the bytecode of Inner#fromInner is: {code} L0

[jira] [Comment Edited] (GROOVY-7701) org.codehaus.groovy.runtime.typehandling.GroovyCastException in Groovy ".with { ... }" - Block

2015-12-07 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15045504#comment-15045504 ] Shil Sinha edited comment on GROOVY-7701 at 12/7/15 7:04 PM: - This occurs for

[jira] [Commented] (GROOVY-7701) org.codehaus.groovy.runtime.typehandling.GroovyCastException in Groovy ".with { ... }" - Block

2015-12-07 Thread Shil Sinha (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15045504#comment-15045504 ] Shil Sinha commented on GROOVY-7701: This occurs for me with any choice of name in place of 'type'.