digitalmars.D.bugs - [Issue 11729] New: protected toString causes strange error message
- d-bugmail puremagic.com (26/26) Dec 12 2013 https://d.puremagic.com/issues/show_bug.cgi?id=11729
https://d.puremagic.com/issues/show_bug.cgi?id=11729 Summary: protected toString causes strange error message Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: trivial Priority: P2 Component: Phobos AssignedTo: nobody puremagic.com ReportedBy: uplink.coder googlemail.com Hello, if I declare a toString function protected, the compiler spills lots of error messages regardig Writers and Appenders. I find this very unhelpful. maybe another Template Contraint something along the lines of if (hasToString!T && isCallable!T.toString) would be abit clearer. Cheers Uplink_Coder -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 12 2013