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

           Summary: Insert in associative array: Internal error:
                    backend/cgcs.c 162
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: jsan...@gmail.com


--- Comment #0 from Jose Garcia <jsan...@gmail.com> 2011-06-19 09:06:45 PDT ---
I am hitting what I believe is a dmd bug when I try to insert into an AA that
points to a struct that contains a struct with a destructor. The following code
yields an error:

struct Parent
{
   struct Child
   {
      AnotherStruct another;
   }

   struct AnotherStruct
   {
      ~this() {}
   }

   void fun()
   {
      map[0] = Selection.init;
   }

   Child[int] map;
}

void main()
{}

---

dmd -w map_test.d
Internal error: backend/cgcs.c 162


Note: I am using the latest master.

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

Reply via email to