Bug 10172 – template instantiation should support enclosed type/scope deduction

Status
NEW
Severity
enhancement
Priority
P4
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-05-26T02:19:39Z
Last change time
2024-12-13T18:07:05Z
Assigned to
No Owner
Creator
Kenji Hara
Moved to GitHub: dmd#18587 →

Comments

Comment #0 by k.hara.pg — 2013-05-26T02:19:39Z
module test; struct Foo {} struct Bar1(T : test.Foo) {} // works struct Bar2(T : test.S, S) {} // doesn't work struct Bar3(T : test.S, alias S) {} // doesn't work void main() { Bar1!Foo b1; // works Bar2!Foo b2; // doesn't work Bar3!Foo b3; // doesn't work }
Comment #1 by robert.schadek — 2024-12-13T18:07:05Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/18587 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB