From Daniel Kozak
import std.stdio;
auto xxx(T)()
{
return this;
}
struct S
{
mixin xxx!(typeof(this));
alias xxx this;
}
void foo(S pos)
{
writeln(pos);
}
void main(){}
Comment #1 by bugzilla — 2018-01-03T02:34:14Z
The fix for https://issues.dlang.org/show_bug.cgi?id=16621 causes this seg fault to go away, so I'm going to resolve it as a duplicate.
*** This issue has been marked as a duplicate of issue 16621 ***