On 03/07/2026 7:06 AM, Danny Arends wrote:
# Is import-only |RTInfo| emission expected to work in 2.112, or is compiling the ImportC unit now required by design (fallout from the AA/ array-hook templatization)?

No.

If you don't compile a file, you don't get the symbols that it provides.

This is true for D, as it is C++.

# Is this the same as fixed Issue 10442 <https://bugzilla- archive.dlang.org/bugs/10442/> ("RTInfo generation can fail for structs defined in imported modules"), incompletely fixed?

I don't think so. It never should have worked with dmd's current generation model for TypeInfo.

  • [Bug?] ImportC: ... Danny Arends via Digitalmars-d-learn
    • Re: [Bug?] ... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn

Reply via email to