September 07, 2022 [Issue 23329] New: Creating objects with a nested class from its sibling function segfaults the compiler | ||||
|---|---|---|---|---|
| ||||
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 -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply