October 21, 2014 [Issue 13644] New: ICE with foreach over array of Tuples | ||||
---|---|---|---|---|
| ||||
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@puremagic.com Reporter: code@dawg.eu import std.typecons; Tuple!(string, string)[] foo() { Tuple!(string, string)[] res; return res; } void main() { foreach (string k2, string v2; foo()) {} } -- |
Copyright © 1999-2021 by the D Language Foundation