Bug 23163 – Can't use AliasSeq instance as default template argument of template function

Status
NEW
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2022-06-06T15:37:20Z
Last change time
2024-12-13T19:23:21Z
Assigned to
No Owner
Creator
Paul Backus
Moved to GitHub: dmd#20118 →

Comments

Comment #0 by snarwin+bugzilla — 2022-06-06T15:37:20Z
As of DMD 2.100.0, the following program fails to compile: --- alias AliasSeq(Args...) = Args; void test(alias a = AliasSeq!(0))() {} alias _ = test!(); --- The error message is --- bug.d(2): Error: tuple `Args` forward declaration ---
Comment #1 by robert.schadek — 2024-12-13T19:23:21Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/20118 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB