[Issue 23082] New: stringof of template alias overloaded with function accessed by trait: segfault.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue May 3 07:57:42 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=23082
Issue ID: 23082
Summary: stringof of template alias overloaded with function
accessed by trait: segfault.
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: default_357-line at yahoo.de
$ cat test.d
void foo()() {}
alias bar = foo;
void bar() { }
void main()
{
__traits(getMember, __traits(parent, main), "bar").stringof;
}
$ dmd test.d
Segmentation fault
--
More information about the Digitalmars-d-bugs
mailing list