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

           Summary: writeln cannot handle alias this of array type
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nob...@puremagic.com
        ReportedBy: timon.g...@gmx.ch


--- Comment #0 from timon.g...@gmx.ch 2012-01-19 00:52:31 PST ---
class C{
    Object[] x;
    alias x this;
    string toString(){return "foo";}
}
void main(){writeln(new C);} // prints "[]"

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

Reply via email to