https://issues.dlang.org/show_bug.cgi?id=2834
Rainer Schuetze <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #21 from Rainer Schuetze <[email protected]> --- (In reply to Orvid King from comment #19) > We still wouldn't be able to call the destructors in structs for arrays even > with precise heap scanning [...] > How would we detect that? The array handling in lifetime.d should supply a type info with a destructor that iterates over the elements and calls their destructor. You might have to generate that typeinfo at runtime, though. --
