https://issues.dlang.org/show_bug.cgi?id=22007
Issue ID: 22007
Summary: static foreach: cannot implicitly convert expression
Tuple4(0LU, 1) of type Tuple4 to int
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
Code works with foreach, but not static foreach
immutable int[32] array = 1;
foreach (size_t a, int b; array) {}
static foreach (size_t a, int b; array) { }
--
