[Issue 8650] SLice opOpAssign SLice with overlap does not throw

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Nov 15 10:30:20 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=8650


Stewart Gordon <smjg at iname.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smjg at iname.com


--- Comment #12 from Stewart Gordon <smjg at iname.com> 2013-11-15 10:30:18 PST ---
(In reply to comment #8)
> IMHO, debug/release builds

By "debug" do you mean "debug" or "non-release"?

> of druntime (or any library) are the wrong direction for contract 
> enforcement.

Then release a build that has the in contracts but is otherwise a release
build.

> 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.

This has been asked for on many occasions.  But Walter doesn't seem to like
this idea, so I filed issue 9482 and issue 9483 as an alternative way of
dealing with the same problem.

-- 
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