Bug 8897 – Regression: 'has forward references' error for static class after template mixin
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-10-26T02:54:00Z
Last change time
2015-06-09T05:11:42Z
Keywords
pull, rejects-valid
Assigned to
nobody
Creator
clugdbug
Comments
Comment #0 by clugdbug — 2012-10-26T02:54:57Z
class C8897
{
static mixin M8897!(int);
static class causesAnError {}
}
template M8897 ( E ) { }
bad.d(4): Error: class bad.C8897.causesAnError has forward references
----
Introduced by this pull:
https://github.com/D-Programming-Language/dmd/pull/1067