[Issue 14739] Immutable alias to template triggers dmd assert

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Oct 21 05:17:40 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14739

--- Comment #4 from Sobirari Muhomori <dfj1esp02 at sneakemail.com> ---
---
void f()
{
    int a, b;
    test!a ta;
    test!b tb;
}
struct test(alias a){}
---

For some reason this compiles. Do instances have different mangled name here?

--


More information about the Digitalmars-d-bugs mailing list