https://issues.dlang.org/show_bug.cgi?id=17915
Issue ID: 17915
Summary: [REG 2.073]
core.exception.AssertError@ddmd/optimize.d(614):
Assertion failure
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: regression
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
First raised against gdc here:
https://bugzilla.gdcproject.org/show_bug.cgi?id=274
Minimal test case.
---
void f()
{
static class MyClass
{
MySmartPointer!MyClass m_member;
}
}
struct MySmartPointer (T)
{
T owner;
}
---
Checked via git blame and confirmed that it was introduced by
https://github.com/dlang/dmd/pull/6412
--