[Issue 10041] New: ufcs writeln of associative array
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue May 7 15:02:37 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10041
Summary: ufcs writeln of associative array
Product: D
Version: D2
Platform: x86
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: bearophile_hugs at eml.cc
--- Comment #0 from bearophile_hugs at eml.cc 2013-05-07 15:02:36 PDT ---
I don't know if this a Phobos or DMD bug.
import std.stdio: writeln;
void main () {
auto aa = [1: 2];
aa.writeln;
writeln(aa);
}
Output with dmd 2.063beta:
AssociativeArray!(int, int)(18C2FE0)
[1:2]
Expected something like:
[1: 2]
[1: 2]
--
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