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: [email protected]
ReportedBy: [email protected]
--- Comment #0 from SHOO <[email protected]> 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: -------