Mercurial > projects > dstress
view nocompile/m/mixin_19_K.d @ 1528:36d8e64392df
[Issue 1187] Segfault with syntax error in two-level mixin.
Don Clugston <clugdbug@yahoo.com.au>
2007-04-24
http://d.puremagic.com/issues/show_bug.cgi?id=1187
author | thomask |
---|---|
date | Fri, 27 Apr 2007 17:31:50 +0000 |
parents | 81222734adf3 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ <nail-mail@mail.ru> // @date@ 2006-04-04 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=83 // __DSTRESS_ELINE__ 24 module dstress.nocompile.m.mixin_19_K; int state; template T1(){ alias T2!().myproperty myproperty; int myproperty(){ return state; } } template T2(){ alias T1!().myproperty myproperty; void myproperty(int x){ state = x; } } alias T1 M1; mixin M1!();