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

           Summary: writeln(const(tuple)) doesn't show the field values
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nob...@puremagic.com
        ReportedBy: bearophile_h...@eml.cc


--- Comment #0 from bearophile_h...@eml.cc 2011-08-17 07:49:07 PDT ---
import std.stdio: writeln;
import std.typecons: tuple;
void main() {
    auto r1 = tuple(1);
    writeln(r1);
    const r2 = tuple(1);
    writeln(r2);
}


2.055beta prints:

Tuple!(int)(1)
const(Tuple!(int))


But I'd like to see the values of the fields (1) in the second case too.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to