July 17, 2020 [Issue 21048] New: Segfault by broken overrided method declaration and circular import | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=21048 Issue ID: 21048 Summary: Segfault by broken overrided method declaration and circular import Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: kntroh@gmail.com --- $ cat a.d module a; import b; interface C { Undefined method(); } $ cat b.d module b; import a; class C2 : C { override method() { } } $ dmd a.d a.d(4): Error: undefined identifier Undefined Segmentation fault $ --- I confirmed on Windows 8.1 and Linux Mint 19. -- |
Copyright © 1999-2021 by the D Language Foundation