[Issue 23329] New: Creating objects with a nested class from its sibling function segfaults the compiler
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Sep 7 12:41:54 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=23329
Issue ID: 23329
Summary: Creating objects with a nested class from its sibling
function segfaults the compiler
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: enhancement
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: 475shift at protonmail.com
Created attachment 1858
--> https://issues.dlang.org/attachment.cgi?id=1858&action=edit
proposed fix
Code:
class A {
void fun()
{
new B.D;
}
class B {
class D {
}
}
}
Originally discovered by author of: https://github.com/ZILtoid1991/newxml
--
More information about the Digitalmars-d-bugs
mailing list