When is a dynamic array really a static array?

Steven Schveighoffer schveiguy at gmail.com
Mon Dec 30 18:17:31 UTC 2019


On 12/30/19 11:45 AM, MoonlightSentinel wrote:

> Digger blames https://github.com/dlang/dmd/pull/4779
> 
> This is probably a bug but DMD sometimes detects when the sliced array 
> is static and uses this information to enable certain rewrites IIRC, 
> e.g. when initializing another static array

Thanks for everyone's replies:

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

-Steve


More information about the Digitalmars-d mailing list