http://d.puremagic.com/issues/show_bug.cgi?id=11096
Summary: mixin templates are not regular templates
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: regression
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from simendsjo <[email protected]> 2013-09-22 05:56:23 PDT ---
I get this error with dmd head:
t.d(4): Error: template instance A!() mixin templates are not regular templates
t.d(4): Error: Cannot interpret A() at compile time
t.d(4): while evaluating pragma(msg, A)
mixin template A() { }
void main() {
pragma(msg, A);
}
Didn't break in 2.063.2.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------