[Issue 2127] inliner turns struct return *this from by-value into by-ref (D1 only)

2010-05-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2127



--- Comment #1 from Brad Roberts bra...@puremagic.com 2010-05-25 01:59:48 PDT 
---
Created an attachment (id=642)
tentative fix for this for the d2 branch (might work on d1 as well, untested)

This bug exists in the d2 code base as well.  This patch fixes the test case
and passes the test suite.

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


[Issue 2127] inliner turns struct return *this from by-value into by-ref (D1 only)

2010-05-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2127


Brad Roberts bra...@puremagic.com changed:

   What|Removed |Added

 Attachment #642 is|0   |1
   obsolete||


--- Comment #2 from Brad Roberts bra...@puremagic.com 2010-05-25 03:05:16 PDT 
---
Created an attachment (id=643)
d2 fix, version 2

Oops.. the version I attached previously was an older copy.  This is the newer
version that moves the changes down from FuncDeclaration::inlineScan to
doInline and fixes a problem with the first version.

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