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: [email protected]
          Reporter: [email protected]

$ cat test.d

void foo()() {}
alias bar = foo;
void bar() { }

void main()
{
    __traits(getMember, __traits(parent, main), "bar").stringof;
}

$ dmd test.d

Segmentation fault

--

Reply via email to