[Bug 66] Bad length in value of T[a..b] = scalar

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Apr 4 04:22:33 PDT 2006


------- Comment #2 from smjg at iname.com  2006-04-04 06:22 -------
You're right that the testcase is buggy.  However, the point was to compare the
behaviour when copying a slice to a slice, whereas your proposed change turns
it into a reference assignment.

A better corretion is simply to add

    yuiop.length = 6;

before that line.


More information about the Digitalmars-d-bugs mailing list