[Issue 16486] Compiler see template alias like a separate type in template function definition

2020-12-23 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16486 Walter Bright changed: What|Removed |Added See Also||https://issues.dlang.org/sh

[Issue 16486] Compiler see template alias like a separate type in template function definition

2018-04-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16486 ag0aep6g changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 16486] Compiler see template alias like a separate type in template function definition

2016-09-13 Thread via Digitalmars-d-bugs
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

[Issue 16486] Compiler see template alias like a separate type in template function definition

2016-09-13 Thread via Digitalmars-d-bugs
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.

[Issue 16486] Compiler see template alias like a separate type in template function definition

2016-09-13 Thread via Digitalmars-d-bugs
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: > >

[Issue 16486] Compiler see template alias like a separate type in template function definition

2016-09-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16486 Steven Schveighoffer changed: What|Removed |Added CC|

[Issue 16486] Compiler see template alias like a separate type in template function definition

2016-09-12 Thread via Digitalmars-d-bugs
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

[Issue 16486] Compiler see template alias like a separate type in template function definition

2016-09-11 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16486 ag0ae...@gmail.com changed: What|Removed |Added CC||ag0ae...@gmail.com --- Comment #1 from

[Issue 16486] Compiler see template alias like a separate type in template function definition

2016-09-11 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16486 b2.t...@gmx.com changed: What|Removed |Added Hardware|x86_64 |All OS|Windows