July 30, 2008 [Issue 2253] New: Assertion failure: 'global.errors' on line 3820 in file 'template.c' | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=2253 Summary: Assertion failure: 'global.errors' on line 3820 in file 'template.c' Product: D Version: 2.017 Platform: PC OS/Version: Windows Status: NEW Severity: minor Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: pelekhay@gmail.com folowing code crashes dmd template ArgTypes( F ) { U argTypes(R, U...)(R delegate (U)); F func(); alias typeof(argTypes(func())) ArgTypes; } struct S { ArgTypes!(typeof(opCall))[0] f_arg; static S opCall(int a_arg) { typeof(return) result; result.f_arg = a_arg; return result; } } -- |
April 24, 2009 [Issue 2253] Assertion failure: 'global.errors' on line 3820 in file 'template.c' | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2253 clugdbug@yahoo.com.au changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE ------- Comment #1 from clugdbug@yahoo.com.au 2009-04-24 03:08 ------- Reduces to: template ArgTypes( F ) { } ArgTypes!(typeof(foo)) f_arg; void foo() { } which is the same as 2884. *** This bug has been marked as a duplicate of 2884 *** -- |
Copyright © 1999-2021 by the D Language Foundation