August 15, 2007 [Issue 1421] New: Stack Overflow when using __traits(allMembers...) | ||||
---|---|---|---|---|
| ||||
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); } -- |
September 29, 2007 [Issue 1421] Stack Overflow when using __traits(allMembers...) | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | 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 -- |
Copyright © 1999-2021 by the D Language Foundation