[Issue 11096] New: mixin templates are not regular templates
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Sep 22 05:56:24 PDT 2013
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: nobody at puremagic.com
ReportedBy: simendsjo at gmail.com
--- Comment #0 from simendsjo <simendsjo at gmail.com> 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: -------
More information about the Digitalmars-d-bugs
mailing list