mixins

bobef bobef at lessequal.com
Wed Mar 1 10:19:43 PST 2006


I was actually trying to reproduce another abnormal program termination. 
Heh.

====================== a.d ===================

template FFF()
{
	class A : B
	{
	}

	class B
	{
	}
}

void main()
{
	mixin FFF;
}

=================================================

C:\dev>dmd a.d
Assertion failure: '!scope' on line 191 in file 'toobj.c'

abnormal program termination



More information about the Digitalmars-d-bugs mailing list