← Back to index
|
Original Bugzilla link
Bug 20877 – Type deduction doesn't work for Alias Template Parameters
Status
NEW
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2020-05-29T10:44:04Z
Last change time
2024-12-13T19:08:54Z
Keywords
rejects-valid
Assigned to
No Owner
Creator
basile-z
Moved to GitHub: dmd#19711 →
Comments
Comment #0
by b2.temp — 2020-05-29T10:44:04Z
The addition brought by
https://github.com/dlang/dmd/pull/9769
didn't handle all the details. while specialization should work now (since
https://github.com/dlang/dmd/pull/11193),
deduction based on specialization is still missing. test case: --- void main() { void foo(alias T: int)(T t){} foo(1); } ---
Comment #1
by robert.schadek — 2024-12-13T19:08:54Z
THIS ISSUE HAS BEEN MOVED TO GITHUB
https://github.com/dlang/dmd/issues/19711
DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB