[Issue 8650] SLice opOpAssign SLice with overlap does not throw
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Sep 15 06:39:50 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8650
--- Comment #1 from monarchdodra at gmail.com 2012-09-15 06:40:47 PDT ---
Also, doesn't check length:
--------
void main()
{
int[ 5] a;
int[10] b;
a[] += b[];
b[] += a[];
}
--------
Behavior: Runs until end of program.
Expected: A error to be thrown: arrays have different length.
--------
The problem would seem to come from "arrayint.d" from druntime.
Apparently, the "in" tests are not executed, because the tests are in there.
--
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