[Issue 24370] static array values in static AA initialise to dynamic arrays

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Feb 6 19:57:00 UTC 2024


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

Steven Schveighoffer <schveiguy at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |schveiguy at gmail.com

--- Comment #2 from Steven Schveighoffer <schveiguy at gmail.com> ---
If I put a pragma(msg, V) inside the `core.internal.newaa.makeAA` template,
it's printing out:

immutable(uint)[]

which explains why it's not working. Something in the way the lowering is done
doesn't work correctly.

--


More information about the Digitalmars-d-bugs mailing list