http://d.puremagic.com/issues/show_bug.cgi?id=4322
Graham Fawcett <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #664 is|0 |1 obsolete| | --- Comment #6 from Graham Fawcett <[email protected]> 2010-06-16 12:42:14 PDT --- Created an attachment (id=665) patch for mtype.c This extends my earlier patch by modifying mtype.c as well. I don't have a bare case unfortunately, but this will compile properly with a patched compiler: import std.algorithm; import std.variant; import std.stdio; void main() { foreach (int v; map! "a.get!int" (variantArray(1,2,3))) writeln(v); } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
