[Issue 7745] Regression (1.x git-415e48a) Methods defined in external object files when a pointer to it is taken

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Mar 22 04:08:39 PDT 2012


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



--- Comment #2 from Don <clugdbug at yahoo.com.au> 2012-03-22 04:08:58 PDT ---
Now able to reproduce it. The cause was this line added to e2ir.c, line 3129.

   //printf("DelegateExp::toElem() '%s'\n", toChars());

+    if (func->semanticRun == PASSsemantic3done)
+        irs->deferToObj->push(func);

The fact that EVERY delegate expression gets deferred, seems like overkill for
the bug being fixed.

-- 
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