[Issue 8650] SLice opOpAssign SLice with overlap does not throw
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Sep 15 07:00:07 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8650
--- Comment #3 from monarchdodra at gmail.com 2012-09-15 07:01:03 PDT ---
(In reply to comment #2)
> (In reply to comment #1)
>
> > The problem would seem to come from "arrayint.d" from druntime.
> > Apparently, the "in" tests are not executed, because the tests are in there.
>
> And replacing those asserts with "enforces" inside the function body is not a
> solution (it's just a way to try to kill D Contract Programming).
I don't seem to remember suggesting that... I was just stating where I think
the problem comes from.
I'm compiling in debug, so I expected the assert to be evaluated.
As a matter of fact, if anything, given related issue 8651, I'd have placed
asserts in the function body. NOT enforces.
--
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