September 28, 2005 Type-safe Variadic Functions Bug | ||||
---|---|---|---|---|
| ||||
The following code produces Assertion failure: '!vthis->csym' on line 355 in file 'glue.c' class Test1 { this(int[] params ...) { } } class Test2 { this() { init(); } private void init() { // removing "private" fixes the error Test1 test1 = new Test1(1, 2, 3); } } DMD 0.133 Windows XP SP2 |
September 29, 2005 Re: Type-safe Variadic Functions Bug | ||||
---|---|---|---|---|
| ||||
Posted in reply to John C Attachments: | John C schrieb: > The following code produces Assertion failure: '!vthis->csym' on line 355 in file 'glue.c' > > class Test1 { > > this(int[] params ...) { > } > } > > class Test2 { > > this() { > init(); > } > > private void init() { // removing "private" fixes the error > Test1 test1 = new Test1(1, 2, 3); > } > > } > > DMD 0.133 Windows XP SP2 Added to DStress as http://dstress.kuehne.cn/run/b/bug_glue_355_A.d http://dstress.kuehne.cn/run/b/bug_glue_355_B.d http://dstress.kuehne.cn/run/b/bug_glue_355_C.d Thomas |
Copyright © 1999-2021 by the D Language Foundation