https://d.puremagic.com/issues/show_bug.cgi?id=11323


Walter Bright <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]


--- Comment #1 from Walter Bright <[email protected]> 2013-11-17 
22:44:25 PST ---
Reduced case:

struct S
{
  S* parent;
  uint m_nextCapturedIndex;
  int m_type;

  ref nextCapturedIndex()
  {
    if(m_type == 0)
      return m_nextCapturedIndex;
    else
      return parent.nextCapturedIndex;
  }
}

void analyze(S* r)
{
      r.nextCapturedIndex++;
}

dmd -O -inline -c foo.d

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

Reply via email to