digitalmars.D.bugs - [Issue 2589] New: asserts when a struct contains an aliased function member.
- d-bugmail puremagic.com Jan 16 2009
- d-bugmail puremagic.com Jan 16 2009
- d-bugmail puremagic.com May 04 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2589 Summary: asserts when a struct contains an aliased function member. Product: D Version: 2.023 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: ace17 free.fr // // dmd: mtype.c:1103: Type* Type::merge(): Assertion `t->deco' failed. // [1] 10615 abort dmd test.d struct S { A a; } alias int function(void *, ubyte *, ubyte *, ubyte *, ubyte *) A; --
Jan 16 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2589 smjg iname.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |smjg iname.com OtherBugsDependingO| |339, 340 nThis| | Keywords| |ice-on-valid-code OS/Version|Linux |All Summary|asserts when a struct |assertion failure when a |contains an aliased function|struct contains a forward |member. |referenced, aliased function | |member. ------- Comment #1 from smjg iname.com 2009-01-16 20:10 ------- It's closely related to issue 339 - the testcases there also AF under DMD 2.023, even though they merely error under 1.039. This, OTOH, compiles without error under the latter. --
Jan 16 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2589 clugdbug yahoo.com.au changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE ------- Comment #2 from clugdbug yahoo.com.au 2009-05-04 08:05 ------- *** This bug has been marked as a duplicate of 1994 *** --
May 04 2009









d-bugmail puremagic.com 