January 12, 2024
https://issues.dlang.org/show_bug.cgi?id=24330

--- Comment #1 from Dennis <dkorpel@live.nl> ---
Related issue:

```D
void f(int[] b)() { }

void main()
{
    enum dstring s = (""d ~ cast(dchar) 0xFFFF_FFFF);
    f!(cast(int[]) s ~ []); // works
    f!(cast(int[]) s); // invalid UCS-32 char \Uffffffff
}
```

Fails because it tries to mangle the int[] as a string because it's a StringExp.

--