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

2018-05-15 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16475876#comment-16475876 ] ASF GitHub Bot commented on GROOVY-8355: Github user asfgit closed the pull request at:

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

2018-05-15 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16475689#comment-16475689 ] ASF GitHub Bot commented on GROOVY-8355: GitHub user danielsun1106 opened a pull request:

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

2017-10-18 Thread Daniil Ovchinnikov (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16209340#comment-16209340 ] Daniil Ovchinnikov commented on GROOVY-8355: It turns out that in the example above the user

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

2017-10-18 Thread Daniil Ovchinnikov (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16209333#comment-16209333 ] Daniil Ovchinnikov commented on GROOVY-8355: I think that {{str = "str"}} is more _telling

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

2017-10-18 Thread Alexey Afanasiev (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16209097#comment-16209097 ] Alexey Afanasiev commented on GROOVY-8355: -- So the only difference is in instanceof we trust

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

2017-10-18 Thread JIRA
[ https://issues.apache.org/jira/browse/GROOVY-8355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16208986#comment-16208986 ] Cédric Champeau commented on GROOVY-8355: - This works as expected. You cannot compare the two

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

2017-10-18 Thread Alexey Afanasiev (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16208963#comment-16208963 ] Alexey Afanasiev commented on GROOVY-8355: -- [~shils] Exactly. Could you read

[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-8355) Instanceof inference does not work on field assigning

2017-10-16 Thread Alexey Afanasiev (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16205984#comment-16205984 ] Alexey Afanasiev commented on GROOVY-8355: -- [~melix] ? > Instanceof inference does not work on