Any workaround for bug 24118?

RazvanN razvan.nitu1305 at gmail.com
Tue Sep 5 14:29:58 UTC 2023


On Tuesday, 5 September 2023 at 13:19:15 UTC, Paolo Invernizzi 
wrote:
> Hi all,
>
> Actually we are unable to build any tools on Apple Silicon due 
> to issue 24118 [1]:
> Someone can suggest a workaround?
>
> We are not even sure about the root cause of it ...
>
> Thank you,
> Paolo
>
> [1] https://issues.dlang.org/show_bug.cgi?id=24118

I have run the code with a debug build (without -release) which 
does not exclude asserts and I get:

core.exception.AssertError at src/dmd/e2ir.d(1725): This case should 
have been rewritten to `_d_arraycatnTX` in the semantic phase


Walter has recently made it so that the lowerings to the druntime 
hooks are not emitted in ctfe contexts. I bet that's why this 
code is failing. I'm investigating further, hopefully will be 
able to come up with a fix shortly. Stay tuned.


More information about the Digitalmars-d mailing list