June 08, 2021 [Issue 22007] New: static foreach: cannot implicitly convert expression Tuple4(0LU, 1) of type Tuple4 to int | ||||
---|---|---|---|---|
| ||||
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: nobody@puremagic.com Reporter: ibuclaw@gdcproject.org 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) { } -- |
Copyright © 1999-2021 by the D Language Foundation