http://d.puremagic.com/issues/show_bug.cgi?id=6873
Summary: Multiple storage class is not allowed on template argument 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> 2011-11-01 06:29:58 PDT --- Code: ---- template Test(T) { pragma(msg, T); } alias Test!(const shared int) X; Output: ---- test.d(5): found 'const' when expecting '(' test.d(5): (arguments) expected following shared(int) test.d(5): found 'X' when expecting ')' following template argument list test.d(5): no identifier for declarator Test!(shared(int) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------