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: [email protected]
Reporter: [email protected]
import std.typecons;
Tuple!(string, string)[] foo()
{
Tuple!(string, string)[] res;
return res;
}
void main()
{
foreach (string k2, string v2; foo())
{}
}
--
