[Issue 19093] New: 'cannot alias itself' when using a template instantiation in a template parameter
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jul 18 11:32:20 UTC 2018
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 at puremagic.com
Reporter: simen.kjaras at 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
--
More information about the Digitalmars-d-bugs
mailing list