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



--- Comment #7 from William Moore <nyphb...@gmail.com> 2012-12-20 08:52:32 PST 
---
The core of this issue is that "auto a = b;" is *SOMETIMES* equivalent to "auto
a = b.save;".  This is what made me run away from ranges screaming.  Assignment
can mean two entirely different things and affects passing ranges as parameters
as well.  The easiest way to avoid this problem is to only pass ranges by ref
and only assign a range when calling .save explicitly.

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

Reply via email to