https://issues.dlang.org/show_bug.cgi?id=13775
Kenji Hara <k.hara...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED --- Comment #16 from Kenji Hara <k.hara...@gmail.com> --- (In reply to sinkuupump from comment #15) > (In reply to Mathias LANG from comment #14) > > However this code still fails with a recent compiler: > > > > source/vibe/core/net.d(181): Error: cannot cast expression ip[cast(ulong)(i > > * 2)..cast(ulong)(i * 2 + 2)] of type ubyte[] to ubyte[2] > > > > Tested with "v2.067-devel-932e0a5" (From today, Feb 12). > > See also Issue 13700, which covers the case. Yes, it's an enhancement case. --