Reduced code. With the PR applied, I get dmd assertion failure:
$ dmd /tmp/test.d
dmd: attrib.c:1219: virtual Dsymbols* StaticIfDeclaration::include(Scope*, ScopeDsymbol*): Assertion `scope' failed.
Aborted
//// test.d
template foo() {
mixin(foo!(typeof(this)));
}
template foo(T) {
enum string foo =
q{static if(! __traits(isVirtualMethod, "boo")) {}} ;
}
class bar {
mixin foo;
int boo;
}
Comment #4 by k.hara.pg — 2015-05-12T16:07:30Z
(In reply to Puneet Goel from comment #3)
> Reduced code. With the PR applied, I get dmd assertion failure:
>
Thanks. I'm working for the regression case on that PR.
Comment #5 by github-bugzilla — 2015-05-13T21:38:19Z