[Issue 800] writefln() on an associative array fails hard

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jan 7 00:01:00 PST 2007


http://d.puremagic.com/issues/show_bug.cgi?id=800





------- Comment #2 from lio at lunesu.com  2007-01-07 02:00 -------
Created an attachment (id=90)
 --> (http://d.puremagic.com/issues/attachment.cgi?id=90&action=view)
Patch for std.format to dump contents of Associative Arrays

This patch adds putAArray to std.format.doFormat. It prints the contents of an
AA similar to python: {key:value,key2:value2} (D had no literal AA syntax, so I
didn't know what to pick instead) 


-- 



More information about the Digitalmars-d-bugs mailing list