[Issue 9724] Range predicates are not restrictive enough to justify assumptions made in Phobos code
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Mar 15 04:16:35 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9724
monarchdodra at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |monarchdodra at gmail.com
AssignedTo|nobody at puremagic.com |monarchdodra at gmail.com
--- Comment #1 from monarchdodra at gmail.com 2013-03-15 04:16:33 PDT ---
Predicates? Did you mean "traits" or "restrictions" ?
Either way, I don't think that's the problem, as TrollFace (and immutable
TrollFace) are both 100% legit Ranges.
The problem lies in the implementation that attempts to be immutable aware, and
tries to cast away immutability via copying. Which it can't.
The solution is to simply strip range of all its unqual code.
--
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