*** Bug 811 has been marked as a duplicate of this bug. ***
Comment #2 by clugdbug — 2009-09-14T08:27:30Z
I don't think is a regression. It ICEd on DMD 0.175 (25 Nov 2006):
Assertion failure: '!scope' on line 195 in file 'toobj.c'
The current behaviour was present in DMD1.000 (2 Jan 2007). So I think it changed from ice-on-valid-code into rejects-valid.
Original test case:
template FFF()
{
class A : B { }
class B { }
}
void main()
{
mixin FFF;
}
Comment #3 by razvan.nitu1305 — 2019-05-16T09:08:49Z