[Issue 8256] New: mixin() doesn't work in a template declaration
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Jun 16 17:51:16 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8256
Summary: mixin() doesn't work in a template declaration
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: wfunction at hotmail.com
--- Comment #0 from wfunction at hotmail.com 2012-06-16 17:53:32 PDT ---
string getTypeName() { return "int"; }
template Foo(T = mixin(getTypeName())) { }
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list