```D
import std;
void main()
{
void[] a = [0, 1, 2, 3, 4, 5, 6, 7, 8, 0x12345678];
void[] b = cast(ubyte[])[0, 1, 2, 3, 4, 5, 6, 7, 8];
ubyte[] c = cast(ubyte[])(cast(void[])[0, 1, 2, 3, 4, 5, 6,
7, 8,0x12345678]);
ubyte[] d = [0, 1, 2, 3, 4, 5, 6, 7, 8];
void[] e = cast(uby
On Wed, Jul 16, 2025 at 01:29:01PM +, z via Digitalmars-d-learn wrote:
[...]
> I also see this in the language documentation :
> ```
> A void array cannot be indexed.
> ```
> But i can slice it just fine in DMD 2.111...
Probably an oversight.
> Is this by design or is there a hole in the lan