[Issue 9140] ref foreach of immutables in postcondition

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Dec 10 20:52:43 PST 2012


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


lt.infiltrator at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lt.infiltrator at gmail.com


--- Comment #1 from lt.infiltrator at gmail.com 2012-12-10 20:52:33 PST ---
I think that it is correct; it's just a shallow check.

Try:

foreach (const ref r; result) {}

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