[Issue 24873] dmd v2.109.1: static foreach over tuple: segfault
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Nov 23 13:24:22 UTC 2024
https://issues.dlang.org/show_bug.cgi?id=24873
Nick Treleaven <nick at geany.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nick at geany.org
--- Comment #1 from Nick Treleaven <nick at geany.org> ---
Reduced:
struct Tuple(T...)
{
T fields;
alias fields this;
}
void main ()
{
Tuple!(string) tup;
static foreach (j, t; tup)
{
}
}
--
More information about the Digitalmars-d-bugs
mailing list