https://issues.dlang.org/show_bug.cgi?id=2237
RazvanN <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED CC| |[email protected] Resolution|--- |FIXED --- Comment #4 from RazvanN <[email protected]> --- The issue does not manifest in D2 (git master). The code generated for: const int[] arr = mixin("[5, 6]"); is identical to the one generated on for: mixin("const int[] arr = [5, 6];"); i.e. It actually puts the array in the static data segment and accesses it from there, like it should. Closing as fixed. --
