[Issue 21445] Indexing a tuple in a static array type suffix fails to compile
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Dec 2 15:10:42 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=21445
--- Comment #1 from Max Samukha <maxsamukha at gmail.com> ---
Independent test:
template alias_(a...) {
alias alias_ = a;
}
struct S {
int[] a;
alias fields = alias_!(S.tupleof);
alias fields this;
}
enum s = S(new int[1]);
int[s[0].length] a;
void main() {
}
--
More information about the Digitalmars-d-bugs
mailing list