dmd v2.110.0: casting array of hex string literal to some other array type crashes compiler
kdevel
kdevel at vogtner.de
Thu Apr 17 18:39:23 UTC 2025
Finally when you try to prepare a reproducer for some issue the
compiler crashes:
```
$ cat dmdcrash20250417.d
void main ()
{
cast (ubyte []) [x""];
}
```
```
$ dmd --version
DMD64 D Compiler v2.110.0
Copyright (C) 1999-2024 by The D Language Foundation, All Rights
Reserved written by Walter Bright
$ dmd -v dmdcrash20250417.d
[...]
semantic2 dmdcrash20250417
semantic3 dmdcrash20250417
Segmentation fault
```
Can sb. please file a GH issue? TIA
More information about the Digitalmars-d
mailing list