http://d.puremagic.com/issues/show_bug.cgi?id=9580
Summary: std.variant.Algebraic with Tuple format problem Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: bearophile_h...@eml.cc --- Comment #0 from bearophile_h...@eml.cc 2013-02-23 17:34:24 PST --- import std.variant: Algebraic, This; import std.typecons: Tuple; alias Foo = Algebraic!(int, Tuple!(This[])); void main() { auto f = Foo(0); } DMD 2.063alpha gives: ...\dmd2\src\phobos\std\format.d(1821): Error: static assert (isInputRange!(This[])) is false ...\dmd2\src\phobos\std\format.d(2279): instantiated from here: formatValue!(Appender!(string), This[], char) ...\dmd2\src\phobos\std\typecons.d(551): instantiated from here: formatElement!(Appender!(string), This[], char) temp.d(3): instantiated from here: Tuple!(This[]) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------