DavidArno / SuccincT

Discriminated unions, pattern matching and partial applications for C#
MIT License
266 stars 15 forks source link

Fix hashcode typos. #13

Closed Gregory-Bell closed 7 years ago

Gregory-Bell commented 7 years ago

In two unions, value1 is used to calculate the hashcode of value2.

DavidArno commented 7 years ago

Well spotted!

Would you be willing to add a test that would fail with the current code and passes with you fix, to this PR?

DavidArno commented 7 years ago

Not sure if you were busy, or not sure how to add the tests, so I did so. PR accepted. Thanks.