digitalmars.D.bugs - [Issue 19093] New: 'cannot alias itself' when using a template
- d-bugmail puremagic.com (22/22) Jul 18 2018 https://issues.dlang.org/show_bug.cgi?id=19093
https://issues.dlang.org/show_bug.cgi?id=19093 Issue ID: 19093 Summary: 'cannot alias itself' when using a template instantiation in a template parameter Product: D Version: D2 Hardware: x86 OS: Windows Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: simen.kjaras gmail.com alias Foo(T) = T; struct Test(T, Foo!T t) {} unittest { Test!(int, 3) a; } foo.d(2): Error: alias T = T; cannot alias itself, use a qualified name to create an overload set --
Jul 18 2018