March 01, 2006 mixins 2 | ||||
---|---|---|---|---|
| ||||
============================== a.d ====================== template FFF() { class A : B { this(){} } class B { } } void main() { mixin FFF; } ========================================================== C:\dev>dmd a.d FuncDeclaration::semantic3(constructor 'this', sc = 0098A7E8) Assertion failure: '0' on line 373 in file 'func.c' abnormal program termination |
March 02, 2006 Re: mixins 2 | ||||
---|---|---|---|---|
| ||||
Posted in reply to bobef Attachments: | bobef schrieb am 2006-03-01: >============================== a.d ====================== > > template FFF() > { > class A : B > { > this(){} > } > > class B > { > } > } > > void main() > { > mixin FFF; > } > >========================================================== > > > C:\dev>dmd a.d > FuncDeclaration::semantic3(constructor 'this', sc = 0098A7E8) > Assertion failure: '0' on line 373 in file 'func.c' > > abnormal program termination Added to DStress as http://dstress.kuehne.cn/run/t/this_10_B.d http://dstress.kuehne.cn/run/t/this_10_C.d http://dstress.kuehne.cn/run/t/this_10_A.d http://dstress.kuehne.cn/nocompile/t/this_10_D.d http://dstress.kuehne.cn/nocompile/t/this_10_E.d http://dstress.kuehne.cn/nocompile/t/this_10_F.d Thomas |
Copyright © 1999-2021 by the D Language Foundation