March 01, 2006 mixins | ||||
---|---|---|---|---|
| ||||
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 |
March 02, 2006 Re: mixins | ||||
---|---|---|---|---|
| ||||
Posted in reply to bobef Attachments: | bobef schrieb am 2006-03-01: > 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 Added to DStress as http://dstress.kuehne.cn/run/c/class_22_A.d http://dstress.kuehne.cn/run/c/class_22_B.d http://dstress.kuehne.cn/nocompile/c/class_22_C.d http://dstress.kuehne.cn/run/c/class_22_D.d http://dstress.kuehne.cn/nocompile/c/class_22_E.d Thomas |
Copyright © 1999-2021 by the D Language Foundation