← Back to index
|
Original Bugzilla link
Bug 2912 – Incorrect array append for mixed character sizes
Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2009-04-29T14:48:00Z
Last change time
2015-06-09T01:31:17Z
Assigned to
bugzilla
Creator
andrei
Comments
Comment #0
by andrei — 2009-04-29T14:48:54Z
void main() { char[] a; wstring b = "abc"w; a ~= b; writeln(a.length); } The program prints "6". It should print "3".
Comment #1
by dsimcha — 2009-04-29T15:19:13Z
Second one today. I think this is yet another manifestation of bug 2892. *** This bug has been marked as a duplicate of 2892 ***