[jira] [Commented] (GROOVY-8254) Alias is ignored in constructor call

2023-11-15 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17786468#comment-17786468 ] Eric Milles commented on GROOVY-8254: -

[jira] [Commented] (GROOVY-8254) Alias is ignored in constructor call

2023-11-14 Thread Paul King (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17786156#comment-17786156 ] Paul King commented on GROOVY-8254: --- Stricter sounds good to me: * An error for regular imports with

[jira] [Commented] (GROOVY-8254) Alias is ignored in constructor call

2023-11-14 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17786100#comment-17786100 ] Eric Milles commented on GROOVY-8254: - JLS 7.5.1 says it’s an error to import a name that is the

[jira] [Commented] (GROOVY-8254) Alias is ignored in constructor call

2023-11-14 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17786089#comment-17786089 ] Eric Milles commented on GROOVY-8254: - As it was implemented, alias imports gained precedence over

[jira] [Commented] (GROOVY-8254) Alias is ignored in constructor call

2023-11-14 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17786011#comment-17786011 ] Eric Milles commented on GROOVY-8254: - There should probably be an error or warning for having an

[jira] [Commented] (GROOVY-8254) Alias is ignored in constructor call

2023-11-14 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17785957#comment-17785957 ] Eric Milles commented on GROOVY-8254: - In order to change the precedence of alias vs.

[jira] [Commented] (GROOVY-8254) Alias is ignored in constructor call

2023-11-14 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17785932#comment-17785932 ] Eric Milles commented on GROOVY-8254: - Both resolve to locally-defined Bar at first. The anon.

[jira] [Commented] (GROOVY-8254) Alias is ignored in constructor call

2017-11-14 Thread Daniil Ovchinnikov (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16251745#comment-16251745 ] Daniil Ovchinnikov commented on GROOVY-8254: AFAIU there are no differences in how

[jira] [Commented] (GROOVY-8254) Alias is ignored in constructor call

2017-07-13 Thread Paul King (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16086081#comment-16086081 ] Paul King commented on GROOVY-8254: --- I suspect that the alias should take precedence over a class in

[jira] [Commented] (GROOVY-8254) Alias is ignored in constructor call

2017-07-13 Thread Daniil Ovchinnikov (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16085509#comment-16085509 ] Daniil Ovchinnikov commented on GROOVY-8254: If Bar is defined in another file in the same

[jira] [Commented] (GROOVY-8254) Alias is ignored in constructor call

2017-07-12 Thread Daniil Ovchinnikov (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16084571#comment-16084571 ] Daniil Ovchinnikov commented on GROOVY-8254: Please clarify how this should work, so I could