groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul King (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (GROOVY-8731) improve error message for the case of static and instance methods with same signature when using traits
Date Sun, 05 Aug 2018 14:12:00 GMT

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

Paul King resolved GROOVY-8731.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 2.5.2

> 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)

Mime
View raw message