[Issue 19093] 'cannot alias itself' when using a template instantiation in a template parameter
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Jul 4 19:01:08 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=19093
Basile-z <b2.temp at gmx.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |b2.temp at gmx.com
--- Comment #1 from Basile-z <b2.temp at gmx.com> ---
This is more a bad diagnostic. The real problem being that the previous
template params cannot be reused, e.g
---
alias Foo(T) = T;
struct Test(T, Foo!(T[]) t) {}
void main()
{
Test!(int, [3]) a;
}
---
--
More information about the Digitalmars-d-bugs
mailing list