https://issues.dlang.org/show_bug.cgi?id=19120

Yuxuan Shui <yshu...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WONTFIX                     |---

--- Comment #2 from Yuxuan Shui <yshu...@gmail.com> ---
Actually, we can index that struct.

A revised example:

import std.meta;
struct A(T...) {
    alias S = T;
    alias S this;
}

alias X = A!(int, double);
alias Y = AliasSeq!((X)[0])[0]; // Fine
pragma(msg, Y); // int
alias Z = AliasSeq!((X)[0..$]); // Not fine?

--

Reply via email to