[Issue 15272] [2.069-rc2,inline] nothing written to output when -inline is set
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Sun Nov  1 11:16:21 PST 2015
    
    
  
https://issues.dlang.org/show_bug.cgi?id=15272
--- Comment #2 from ag0aep6g at gmail.com ---
(In reply to bb.temp from comment #0)
> So far I'm here but it doesn't capture the essence of the problem.
> 
> ---
[...]
> ---
As far as I can tell, everything works as expected in that code.
The different `children` arrays are GC allocated (via ~=), but the `Foo`s
themselves are not. So a parent `Foo` doesn't keep its `children` alive, and at
some point the GC collects the seemingly dead arrays.
--
    
    
More information about the Digitalmars-d-bugs
mailing list