digitalmars.D.bugs - [Issue 1421] New: Stack Overflow when using __traits(allMembers...)
- d-bugmail puremagic.com (30/30) Aug 15 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1421
- d-bugmail puremagic.com (9/9) Sep 28 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1421
http://d.puremagic.com/issues/show_bug.cgi?id=1421 Summary: Stack Overflow when using __traits(allMembers...) Product: D Version: 2.003 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: jascha mainia.de the following program produces a stack overflow in object.TypeInfo_Const.next(void*) either changing the interface into a class or removing the extern(Windows) attribute prevents the problem. ------------------------------------- import std.stdio; interface D { extern(Windows): void foo(); int foo(int); } void main() { auto a = __traits(allMembers, D); writefln(a); } --
Aug 15 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1421 bugzilla digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #1 from bugzilla digitalmars.com 2007-09-28 22:12 ------- Fixed dmd 2.004 --
Sep 28 2007