[Issue 13644] New: ICE with foreach over array of Tuples
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Oct 21 10:09:52 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=13644
Issue ID: 13644
Summary: ICE with foreach over array of Tuples
Product: D
Version: unspecified
Hardware: All
OS: All
Status: NEW
Keywords: ice
Severity: normal
Priority: P1
Component: DMD
Assignee: nobody at puremagic.com
Reporter: code at dawg.eu
import std.typecons;
Tuple!(string, string)[] foo()
{
Tuple!(string, string)[] res;
return res;
}
void main()
{
foreach (string k2, string v2; foo())
{}
}
--
More information about the Digitalmars-d-bugs
mailing list