https://issues.dlang.org/show_bug.cgi?id=14839
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] Component|phobos |druntime --- Comment #1 from [email protected] --- Digger says this introduced the regression: https://github.com/D-Programming-Language/druntime/pull/1181 ("Make .destroy() work with attribute inference") That puts the problem in druntime's destroy. Reduced test case: ---- struct Payload {} struct Impl { Payload _payload; } struct RefCounted() { ~this() { Impl* _refCounted; .destroy(_refCounted._payload); } } class Test { RefCounted!()[1] field; } ---- --
