[Issue 19120] Cannot slice a struct with a tuple alias this

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu May 23 10:25:50 UTC 2019


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

--- Comment #3 from Yuxuan Shui <yshuiv7 at gmail.com> ---
To clarify:

The problem of comment #0 is that Y is actually an array (A!(int, double)[0]).
So that is not a valid example.

But the problem is real, as the example in comment #2 shows. It is possible to
index A!(int, double), but not slicing it. Which seems to be an arbitrary
limitation.

--


More information about the Digitalmars-d-bugs mailing list