digitalmars.D.bugs - [Issue 23329] New: Creating objects with a nested class from its
- d-bugmail puremagic.com (30/30) Sep 07 2022 https://issues.dlang.org/show_bug.cgi?id=23329
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 puremagic.com Reporter: 475shift 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 --
Sep 07 2022