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

--- Comment #0 from Jose Garcia <> 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:
------- You are receiving this mail because: -------

Reply via email to