Groovy
  1. Groovy
  2. GROOVY-7604

traits docs diamond problem explanation

    Details

    • Type: Documentation Documentation
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.7
    • Component/s: None
    • Labels:
      None

      Description

      http://www.groovy-lang.org/objectorientation.html#_composition_of_behaviors
      has an example after referring diamond problem. Is it correct example for diamond problem? Shouldn't the method names be the same?

        Activity

        Hide
        Aseem Bansal added a comment - - edited

        I read further and found the section "Default conflict resolution" which gives the correct explanation. But the earlier one should be corrected/refer to this section.

        Show
        Aseem Bansal added a comment - - edited I read further and found the section "Default conflict resolution" which gives the correct explanation. But the earlier one should be corrected/refer to this section.
        Hide
        ASF GitHub Bot added a comment -

        GitHub user andresteingress opened a pull request:

        https://github.com/apache/groovy/pull/327

        GROOVY-7604: traits docs diamond problem explanation

        Fixes a (very) tiny text issue raised in GROOVY-7604.

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

        $ git pull https://github.com/andresteingress/groovy GROOVY-7604

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

        https://github.com/apache/groovy/pull/327.patch

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

        This closes #327


        commit b0ad8bda06bd223b51acfe80b3c63e7e0be26d35
        Author: Andre Steingress <me@andresteingress.com>
        Date: 2016-05-04T20:07:47Z

        GROOVY-7604: traits docs diamond problem explanation


        Show
        ASF GitHub Bot added a comment - GitHub user andresteingress opened a pull request: https://github.com/apache/groovy/pull/327 GROOVY-7604 : traits docs diamond problem explanation Fixes a (very) tiny text issue raised in GROOVY-7604 . You can merge this pull request into a Git repository by running: $ git pull https://github.com/andresteingress/groovy GROOVY-7604 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/groovy/pull/327.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #327 commit b0ad8bda06bd223b51acfe80b3c63e7e0be26d35 Author: Andre Steingress <me@andresteingress.com> Date: 2016-05-04T20:07:47Z GROOVY-7604 : traits docs diamond problem explanation
        Hide
        ASF GitHub Bot added a comment -

        Github user asfgit closed the pull request at:

        https://github.com/apache/groovy/pull/327

        Show
        ASF GitHub Bot added a comment - Github user asfgit closed the pull request at: https://github.com/apache/groovy/pull/327
        Hide
        Pascal Schumacher added a comment -

        Pull request merged. Thanks!

        Show
        Pascal Schumacher added a comment - Pull request merged. Thanks!

          People

          • Assignee:
            Pascal Schumacher
            Reporter:
            Aseem Bansal
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development