On Wednesday, 16 January 2019 at 19:59:02 UTC, Steven Schveighoffer wrote:
I'm guessing it's a missed case in the compiler, and not intentionally omitted.

-Steve

The workaround is quite silly. Seems like a parser issue.

---
pragma(mangle, "Foo")
    extern(C) void foo();

mixin template T()
{
    pragma(mangle, "Bar")
    extern(C) void bar();
}

void main() {
    mixin T!();    // Hurrah!
}
---

Reply via email to