[Issue 8686] Tuple cannot define with type that has only mutable opEquals

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Sep 18 09:43:45 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8686



--- Comment #2 from github-bugzilla at puremagic.com 2012-09-18 09:44:26 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/414ca6ffd211940d55d598e8a751090fb362da4c
fix Issue 8686 - Tuple cannot define with type that has only mutable opEquals

We cannot show better error message for mismatching tuple lengths, because
compiler would *always* try to instantiate const opEquals.

I also added tests for exhaustive opEquals signatures - const or mutable, and
template or not

https://github.com/D-Programming-Language/phobos/commit/7f5d95adf106a2a3cc1a8439b20cdafa5a8688f3
Merge pull request #803 from 9rnsr/fix8686

Issue 8686 and others, Tuple.opEquals and opCmp does not work in some cases

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list