You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (JIRA)" <ji...@apache.org> on 2018/08/14 08:06:02 UTC

[jira] [Closed] (GROOVY-8731) improve error message for the case of static and instance methods with same signature when using traits

     [ https://issues.apache.org/jira/browse/GROOVY-8731?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul King closed GROOVY-8731.
-----------------------------

> improve error message for the case of static and instance methods with same signature when using traits
> -------------------------------------------------------------------------------------------------------
>
>                 Key: GROOVY-8731
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8731
>             Project: Groovy
>          Issue Type: Bug
>            Reporter: Paul King
>            Assignee: Paul King
>            Priority: Major
>             Fix For: 2.5.2
>
>
> The current behavior is to weave in the static method if it is the first found but then complain later during class verification. I propose to change this to detect the conflict earlier and provide a friendlier compiler error message.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)