[Issue 24456] CTFE implicit conversion to void[] produces wrong length
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Mar 27 13:37:09 UTC 2024
https://issues.dlang.org/show_bug.cgi?id=24456
basile-z <b2.temp at gmx.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |CTFE
Hardware|x86 |All
OS|Windows |All
Severity|normal |major
--- Comment #1 from basile-z <b2.temp at gmx.com> ---
compile-time evaluation bug. minimized to
```d
enum int[2] a = [0,1];
static assert((cast(void[])a).length == 8);
```
--
More information about the Digitalmars-d-bugs
mailing list