[Issue 21446] Cannot initialize a static array from a struct field of dynamic array type at compile time
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Nov 24 20:21:42 UTC 2024
https://issues.dlang.org/show_bug.cgi?id=21446
Nick Treleaven <nick at geany.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nick at geany.org
--- Comment #1 from Nick Treleaven <nick at geany.org> ---
Workaround - use `[]`:
int[1] a = s.a[];
--
More information about the Digitalmars-d-bugs
mailing list