[Issue 2810] New: ICE on auto function
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Apr 6 08:01:25 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2810
Summary: ICE on auto function
Product: D
Version: 2.027
Platform: PC
OS/Version: Windows
Status: NEW
Keywords: ice-on-valid-code
Severity: normal
Priority: P2
Component: DMD
AssignedTo: bugzilla at digitalmars.com
ReportedBy: maxmo at pochta.ru
---
auto a() { return 0; }
static assert(typeof(a).stringof);
---
>Assertion failure: 'global.errors' on line 3845 in file 'mtype.c'
workaround: replace auto with int.
--
More information about the Digitalmars-d-bugs
mailing list