ASF GitHub Bot commented on GROOVY-8269:

GitHub user jwagenleitner opened a pull request:


    GROOVY-8269: Unclear definition of default behavior for trait multipl…

    …e inheritance conflicts

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jwagenleitner/groovy 8269-trait-conflict-doc

Alternatively you can review and apply these changes as the patch at:


To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #582
commit ca3a10c1e22be899bcd8534a7aee4f5bdaf197d2
Author: John Wagenleitner <jwagenleit...@apache.org>
Date:   2017-08-13T19:07:33Z

    GROOVY-8269: Unclear definition of default behavior for trait multiple 
inheritance conflicts


> Unclear/incorrect definition of default behavior for trait multiple 
> inheritence conflicts
> -----------------------------------------------------------------------------------------
>                 Key: GROOVY-8269
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8269
>             Project: Groovy
>          Issue Type: Documentation
>          Components: Documentation
>    Affects Versions: 2.4.12
>            Reporter: Sasha Volokh
>            Priority: Minor
>         Attachments: problem.png
> In section 2.10.1, Default conflict resolution, the text says "In this case, 
> the default behavior is that methods from the last declared trait wins", when 
> in fact the order they are implemented is what decides the winning method 
> (and if this is what the wording was intending to say, then it isn't clear 
> because the example has trait B declared after trait A as well as C 
> implementing B after A).

This message was sent by Atlassian JIRA

Reply via email to