[Issue 5574] Struct destructor freaks out when an array of struct with single element is instantiated inside a class

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jun 19 17:16:56 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=5574


Kenji Hara <k.hara.pg at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |k.hara.pg at gmail.com


--- Comment #1 from Kenji Hara <k.hara.pg at gmail.com> 2011-06-19 17:12:10 PDT ---
Simple test case:
----
struct foo5574a
{
    ~this() {}
}
class bar5574a
{
    foo5574a[1] frop;
}
----

Postblit has similar problem:
----
struct foo5574b
{
    this(this){}
}
struct bar5574b
{
    foo5574b[1] frop;
}
----

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list