GitHub user phongphan opened a pull request:

    https://github.com/apache/thrift/pull/503

    THRIFT-2916 Add default toHash method to 'class' and 'struct'.

    D's associative array requires "toHash" implementation if opEquals was 
provided.
    
    And both method should be consistent as stated in the 
[documentation](http://dlang.org/hash-map.html).
    > The toHash should consistently be the same value when opEquals returns 
true.

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

    $ git pull https://github.com/phongphan/thrift THRIFT-2916

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

    https://github.com/apache/thrift/pull/503.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 #503
    
----
commit 15b9c57c80820b4bdbeaab7a6d71e1782b78c5eb
Author: Phongphan Phuttha <phongp...@acm.org>
Date:   2015-05-18T08:18:17Z

    THRIFT-2916 Add default toHash method to 'class' and 'struct' to meet D's 
associative arrays requirement.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to