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

2021-05-17 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17346289#comment-17346289 ] Eric Milles commented on GROOVY-8946: - see also GROOVY-9344 and GROOVY-9516 > @CompileStatic

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

2019-10-08 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16947021#comment-16947021 ] Eric Milles commented on GROOVY-8946: - [~kikoalemao] One thing I have used to get at a deeply nested

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

2019-05-14 Thread JIRA
[ https://issues.apache.org/jira/browse/GROOVY-8946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16839940#comment-16839940 ] Frederico Costa Galvão commented on GROOVY-8946: In the original code, it is used to

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

2019-05-14 Thread Eric Milles (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16839458#comment-16839458 ] Eric Milles commented on GROOVY-8946: - [~kikoalemao] I agree there are flow-typing situations that

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

2019-05-13 Thread JIRA
[ https://issues.apache.org/jira/browse/GROOVY-8946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16839052#comment-16839052 ] Frederico Costa Galvão commented on GROOVY-8946: [~emilles] I just wish it would

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

2019-05-01 Thread Eric Milles (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16831132#comment-16831132 ] Eric Milles commented on GROOVY-8946: - So, you have saved a {{JSONElement}} to local variable

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

2019-01-05 Thread JIRA
[ https://issues.apache.org/jira/browse/GROOVY-8946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16734970#comment-16734970 ] Frederico Costa Galvão commented on GROOVY-8946: Thanks for your time, [~blackdrag]!

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

2019-01-05 Thread Jochen Theodorou (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16734866#comment-16734866 ] Jochen Theodorou commented on GROOVY-8946: -- [~kikoalemao] the code passes compilation, thus it