http://d.puremagic.com/issues/show_bug.cgi?id=6334
Summary: Template is silently not instantiated
Product: D
Version: D2
Platform: Other
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Denis <[email protected]> 2011-07-16 02:16:49 PDT
---
This code compiles on dmd 2.054:
mixin template T1() {
mixin T2; //compiles if these lines
mixin T2!(a, bb, ccc, dddd); //are before T2 declaration
mixin template T2() { static assert(0); }
}
void main() {
mixin T1;
}
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------