April 29, 2009 [Issue 2912] New: Incorrect array append for mixed character sizes | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=2912 Summary: Incorrect array append for mixed character sizes Product: D Version: unspecified Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: andrei@metalanguage.com void main() { char[] a; wstring b = "abc"w; a ~= b; writeln(a.length); } The program prints "6". It should print "3". -- |
April 29, 2009 [Issue 2912] Incorrect array append for mixed character sizes | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2912 dsimcha@yahoo.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE ------- Comment #1 from dsimcha@yahoo.com 2009-04-29 15:19 ------- Second one today. I think this is yet another manifestation of bug 2892. *** This bug has been marked as a duplicate of 2892 *** -- |
Copyright © 1999-2021 by the D Language Foundation