Skip to content

Conversation

schveiguy
Copy link
Member

https://issues.dlang.org/show_bug.cgi?id=14082

The red black tree unit tests are template-based, so they instantiate based on the parameters to the template. Previously, the only consideration was that the type should be integral. If someone created a Red Black Tree with a custom lambda, it still tries to run the unit test with the assumption that it's "a > b". This precludes that.

andralex added a commit that referenced this pull request Jan 30, 2015
Fix issue 14082 -- RedBlackTree unittest fails with custom predicate less
@andralex andralex merged commit a4bd3df into dlang:master Jan 30, 2015
@schveiguy schveiguy deleted the issue14082 branch January 30, 2015 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants