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

           Summary: D spec should warn about using foreach_reverse on a
                    delegate
           Product: D
           Version: D1 & D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: websites
        AssignedTo: nob...@puremagic.com
        ReportedBy: schvei...@yahoo.com


--- Comment #0 from Steven Schveighoffer <schvei...@yahoo.com> 2011-07-05 
04:00:17 PDT ---
Currently, foreach_reverse on a delegate is equivalent to using foreach on a
delegate.  A novice user might expect foreach_reverse to somehow force the
delegate to iterate its elements in reverse.  In order to prevent more bugs
being filed on this issue, the documentation should specifically identify that
foreach_reverse on a delegate does not reverse the order of iteration, and so
should not be used.

This is related to bug 1553

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

Reply via email to