[jira] [Comment Edited] (GROOVY-9347) STC: lambda expression on wildcard generics fail to resolve param type(s)

2019-12-19 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-9347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17000323#comment-17000323 ] Eric Milles edited comment on GROOVY-9347 at 12/19/19 7:36 PM: ---

[jira] [Resolved] (GROOVY-9342) SC: Lambda in static initializer that uses static field on LHS of += produces errors

2019-12-19 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-9342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles resolved GROOVY-9342. - Resolution: Fixed > SC: Lambda in static initializer that uses static field on LHS of +=

[jira] [Issue Comment Deleted] (GROOVY-9342) SC: Lambda in static initializer that uses static field on LHS of += produces errors

2019-12-19 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-9342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-9342: Comment: was deleted (was: "Cannot find matching method int#plus(java.lang.Object)..." is still

[jira] [Commented] (GROOVY-9347) STC: lambda expression on wildcard generics fail to resolve param type(s)

2019-12-19 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-9347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17000323#comment-17000323 ] Eric Milles commented on GROOVY-9347: - {{StaticTypeCheckingVisitor#inferSAMType}} cannot collect

[jira] [Created] (GROOVY-9347) STC: lambda expression on wildcard generics fail to resolve param type(s)

2019-12-19 Thread Eric Milles (Jira)
Eric Milles created GROOVY-9347: --- Summary: STC: lambda expression on wildcard generics fail to resolve param type(s) Key: GROOVY-9347 URL: https://issues.apache.org/jira/browse/GROOVY-9347 Project:

[jira] [Updated] (GROOVY-9342) SC: Lambda in static initializer that uses static field on LHS of += produces errors

2019-12-19 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-9342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-9342: Description: Follow up to GROOVY-9332 and GROOVY-9333. Consider the following: {code:groovy}

[jira] [Comment Edited] (GROOVY-9342) SC: Lambda in static initializer that uses static field on LHS of += produces errors

2019-12-19 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-9342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17000318#comment-17000318 ] Eric Milles edited comment on GROOVY-9342 at 12/19/19 7:30 PM: --- "Cannot

[jira] [Comment Edited] (GROOVY-9342) SC: Lambda in static initializer that uses static field on LHS of += produces errors

2019-12-19 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-9342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17000318#comment-17000318 ] Eric Milles edited comment on GROOVY-9342 at 12/19/19 7:25 PM: --- "Cannot

[jira] [Reopened] (GROOVY-9342) SC: Lambda in static initializer that uses static field on LHS of += produces errors

2019-12-19 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-9342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles reopened GROOVY-9342: - "Cannot resolve method int#plus(Object)..." is still an issue because

[GitHub] [groovy] eric-milles opened a new pull request #1126: GROOVY-9340: return type, not type redirect

2019-12-19 Thread GitBox
eric-milles opened a new pull request #1126: GROOVY-9340: return type, not type redirect URL: https://github.com/apache/groovy/pull/1126 https://issues.apache.org/jira/browse/GROOVY-9340 This is an automated message from the

[jira] [Created] (GROOVY-9346) Closure shared variable type is polluted with previous assignment type

2019-12-19 Thread Daniil Ovchinnikov (Jira)
Daniil Ovchinnikov created GROOVY-9346: -- Summary: Closure shared variable type is polluted with previous assignment type Key: GROOVY-9346 URL: https://issues.apache.org/jira/browse/GROOVY-9346

[jira] [Created] (GROOVY-9345) Closure shared variable type is polluted with unreached assignment type

2019-12-19 Thread Daniil Ovchinnikov (Jira)
Daniil Ovchinnikov created GROOVY-9345: -- Summary: Closure shared variable type is polluted with unreached assignment type Key: GROOVY-9345 URL: https://issues.apache.org/jira/browse/GROOVY-9345

[jira] [Created] (GROOVY-9344) CCE in closure shared variable assignment

2019-12-19 Thread Daniil Ovchinnikov (Jira)
Daniil Ovchinnikov created GROOVY-9344: -- Summary: CCE in closure shared variable assignment Key: GROOVY-9344 URL: https://issues.apache.org/jira/browse/GROOVY-9344 Project: Groovy Issue

[jira] [Updated] (GROOVY-9343) Variable type is not updated in operator assignment

2019-12-19 Thread Daniil Ovchinnikov (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-9343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniil Ovchinnikov updated GROOVY-9343: --- Affects Version/s: 2.5.8 > Variable type is not updated in operator assignment >

[jira] [Created] (GROOVY-9343) Variable type is not updated in operator assignment

2019-12-19 Thread Daniil Ovchinnikov (Jira)
Daniil Ovchinnikov created GROOVY-9343: -- Summary: Variable type is not updated in operator assignment Key: GROOVY-9343 URL: https://issues.apache.org/jira/browse/GROOVY-9343 Project: Groovy

[jira] [Updated] (GROOVY-9343) Variable type is not updated in operator assignment

2019-12-19 Thread Daniil Ovchinnikov (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-9343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniil Ovchinnikov updated GROOVY-9343: --- Description: {code:java} class A { B plus(x) { new B() } } class B { def foo() {42}