February 17, 2007 [Issue 976] New: compile-time const array makes dmd crash | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=976 Summary: compile-time const array makes dmd crash Product: D Version: 1.006 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: Daniel919@web.de import std.stdio; template eval(A...) { alias A eval; } const int foo[5] = [0,1,2,3,4]; void main() { writefln(eval!(foo[3])); } -- |
February 17, 2007 [Issue 976] compile-time const array makes dmd crash | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=976 fvbommel@wxs.nl changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE ------- Comment #1 from fvbommel@wxs.nl 2007-02-17 06:03 ------- *** This bug has been marked as a duplicate of 975 *** -- |
Copyright © 1999-2021 by the D Language Foundation