After upgrading DMD from v2.111.0 to v2.112.0 (on Debian 13.2, x86_64) I have found an issue, which I have isolated in the following code snippet:
void main()
{
enum var = true;
@var string[] list = ["A", "B", "C"];
}
v2.111.0 compiles the code as expected but v2.112.0 halts with the following message:
Internal Error: array literal ["A", "B", "C"] (...) should have been lowered to a _d_arrayliteralTX template
Removing the var UDA fixes the problem.
After upgrading DMD from v2.111.0 to v2.112.0 (on Debian 13.2, x86_64) I have found an issue, which I have isolated in the following code snippet:
v2.111.0 compiles the code as expected but v2.112.0 halts with the following message:
Removing the
varUDA fixes the problem.