dmd icon indicating copy to clipboard operation
dmd copied to clipboard

Translate `_d_arrayliteralTX` to a template

Open dkorpel opened this issue 7 months ago • 5 comments

Adds a lowering field to ArrayLiteralExp, and builds on https://github.com/dlang/dmd/pull/21058 to set the .lowering in NOGCVisitor. At some point checkGC and nogc.d should be renamed to gcSemantic or something, but to keep this PR small, I'll clean up the code in a follow up PR if this gets merged.

The template hook still only calls the old TypeInfo version. That can be improved later as well.

dkorpel avatar Mar 24 '25 13:03 dkorpel