[Issue 8650] SLice opOpAssign SLice with overlap does not throw
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Nov 15 00:49:48 PST 2013
https://d.puremagic.com/issues/show_bug.cgi?id=8650
--- Comment #10 from Martin Nowak <code at dawg.eu> 2013-11-15 00:49:44 PST ---
(In reply to comment #8)
> IMHO, debug/release builds of druntime (or any library) are the wrong direction
> for contract enforcement. They pre/post conditions should be visible to call
> sites and executed based on the call site's compilation settings. For _all_
> code, not just druntime or phobos.
You're right, any contract that is part of the API needs to be visible (or at
least callable) for the caller.
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list