Bug 11096 – mixin templates are not regular templates
Status
RESOLVED
Resolution
INVALID
Severity
regression
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-09-22T05:56:00Z
Last change time
2013-10-08T20:28:25Z
Keywords
pull, rejects-valid
Assigned to
nobody
Creator
simendsjo
Comments
Comment #0 by simendsjo — 2013-09-22T05:56:23Z
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.