[Issue 5130] New: writeln cannot take delegate

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Oct 29 08:43:37 PDT 2010


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

           Summary: writeln cannot take delegate
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: zan77137 at nifty.com


--- Comment #0 from SHOO <zan77137 at nifty.com> 2010-10-29 08:42:46 PDT ---
writeln, format, Tuple(T).toString and so on cannot take delegate(in trunk
r2116).
This code should compile:

----
import std.stdio;

void main()
{
        writeln({});
}
----

This bug occurred recently.
On dmd 2.042, this bug doesn't occur.

http://ideone.com/iXHoB

-- 
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