[Issue 23202] New: assigning class.tupleof with a string segfaults at runtime, also with @safe
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Jun 21 08:05:58 UTC 2022
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 at puremagic.com
Reporter: d.bugs at webfreak.org
Example code:
```
@safe:
class S
{
string str;
}
void main()
{
auto s = S.init.tupleof;
}
```
--
More information about the Digitalmars-d-bugs
mailing list