Commits

Iain Buclaw committed 1440549 Merge

Merge bug fixes from trunk.

Comments (0)

Files changed (3)

     int local_dump_flags;
 
     // Fix up the types of parms passed by invisible reference.
-    for (tree t = DECL_ARGUMENTS(fndecl); t; t = DECL_CHAIN(t))
+    for (tree t = DECL_ARGUMENTS(fndecl); t; t = TREE_CHAIN(t))
     {
         if (D_TYPE_ADDRESSABLE(TREE_TYPE(t)))
         {
     if (fd && fd->isNested())
     {
         // Typically, an error occurred whilst compiling
-        if (fd->vthis == NULL)
+        if (fd->fbody && !fd->vthis)
         {
             gcc_assert(global.errors);
             return false;

d/gdc-version

File contents unchanged.