https://issues.dlang.org/show_bug.cgi?id=14839
Issue ID: 14839 Summary: [REG2.068.0-b2] Class with static array of Array!T fails to compile Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: regression Priority: P1 Component: phobos Assignee: nob...@puremagic.com Reporter: slud...@outerproduct.org This used to compile up to 2.067.1: --- import std.container.array; class Test { Array!int[1] field; } --- On 2.068.0-b2 it yields the following errors: test.d(2): Error: @nogc function 'test.Test.~this' cannot call non-@nogc function 'object.TypeInfo_StaticArray.destroy' test.d(2): Error: 'object.TypeInfo_StaticArray.destroy' is not nothrow test.d(2): Error: destructor 'test.Test.~this' is nothrow yet may throw The reason for the error messages is issue 14838, which is not a regression. However some change in Phobos has made this surface only now, making it effectively a Phobos regression. --