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


Don <clugd...@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch




--- Comment #4 from Don <clugd...@yahoo.com.au>  2009-07-20 08:03:56 PDT ---
PATCH: func.c, line 1211. Need to account for a lazy last parameter.


-    offset = p->type->size();
+    if (p->storage_class & STClazy) {
+    // If the last parameter is lazy, it's the size of a delegate
+    offset = sizeof(int(*)(int)) + sizeof(void *);
+    } else {
+    offset = p->type->size();
+    }

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

Reply via email to