June 21, 2022 [Issue 23202] New: assigning class.tupleof with a string segfaults at runtime, also with @safe | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23202 Issue ID: 23202 Summary: assigning class.tupleof with a string segfaults at runtime, also with @safe Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: d.bugs@webfreak.org Example code: ``` @safe: class S { string str; } void main() { auto s = S.init.tupleof; } ``` -- |
Copyright © 1999-2021 by the D Language Foundation