https://issues.dlang.org/show_bug.cgi?id=16486
Walter Bright changed:
What|Removed |Added
See Also||https://issues.dlang.org/sh
https://issues.dlang.org/show_bug.cgi?id=16486
ag0aep6g changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=16486
--- Comment #6 from Sky Thirteenth ---
(In reply to ag0aep6g from comment #5)
> (In reply to Sky Thirteenth from comment #4)
> > it can be pretty useful feature.
>
> Sure. I don't think anyone disputes that it could be a
https://issues.dlang.org/show_bug.cgi?id=16486
--- Comment #5 from ag0ae...@gmail.com ---
(In reply to Sky Thirteenth from comment #4)
> it can be pretty useful feature.
Sure. I don't think anyone disputes that it could be a useful feature. So we
keep the issue open as an enhancement request.
https://issues.dlang.org/show_bug.cgi?id=16486
--- Comment #4 from Sky Thirteenth ---
(In reply to Steven Schveighoffer from comment #3)
> The issue is that the compiler doesn't replace the alias until AFTER
> instantiation.
>
> It should be able to see that:
>
>
https://issues.dlang.org/show_bug.cgi?id=16486
Steven Schveighoffer changed:
What|Removed |Added
CC|
https://issues.dlang.org/show_bug.cgi?id=16486
--- Comment #2 from Sky Thirteenth ---
(In reply to ag0aep6g from comment #1)
> Reduced to the core:
>
>
> struct TestType(T) {}
> alias TestAlias(T) = TestType!T;
> void testFunction(T)(TestAlias!T arg) {}
>
> void
https://issues.dlang.org/show_bug.cgi?id=16486
ag0ae...@gmail.com changed:
What|Removed |Added
CC||ag0ae...@gmail.com
--- Comment #1 from
https://issues.dlang.org/show_bug.cgi?id=16486
b2.t...@gmx.com changed:
What|Removed |Added
Hardware|x86_64 |All
OS|Windows