http://d.puremagic.com/issues/show_bug.cgi?id=8125
Summary: TypeInstance dedunction problem Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: k.hara...@gmail.com --- Comment #0 from Kenji Hara <k.hara...@gmail.com> 2012-05-20 09:27:23 PDT --- Following code should compile. void foo(){} struct X(alias a) {} //template Y(T : A!f, alias A, alias f) {} //OK template Y(T : A!foo, alias A) {} //NG void main() { alias Y!(X!foo) y; // Error: template instance Y!(X!(foo)) Y!(X!(foo)) // does not match template declaration Y(T : A!(foo),alias A) } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------