Thread overview
[Issue 3800] New: "Foreach over Structs and Classes with Ranges" and "Invariant Struct" in D2 Spec
Feb 14, 2010
Masahiro Nakagawa
Jul 30, 2010
Trass3r
May 02, 2011
kennytm@gmail.com
Jan 23, 2012
Walter Bright
February 14, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3800

           Summary: "Foreach over Structs and Classes with Ranges" and
                    "Invariant Struct" in D2 Spec
           Product: D
           Version: 2.040
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: www.digitalmars.com
        AssignedTo: nobody@puremagic.com
        ReportedBy: repeatedly@gmail.com


--- Comment #0 from Masahiro Nakagawa <repeatedly@gmail.com> 2010-02-14 03:10:26 PST ---
I noticed two invalid documentations.

1. "Foreach over Structs and Classes with Ranges" section in statement.html

I think "Foreach Range Properties" table is old. Current properties are below.

.next    -> .popFront
.retreat -> .popBack
.head    -> .front
.toe     -> .back

2. "Const and Invariant Structs" in struct.html

Invariant -> Immutable

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 30, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3800


Trass3r <mrmocool@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mrmocool@gmx.de


--- Comment #1 from Trass3r <mrmocool@gmx.de> 2010-07-29 17:07:53 PDT ---
Well the table is correct atm but the code examples are still outdated. http://digitalmars.com/d/2.0/statement.html#foreach_with_ranges

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 02, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=3800


kennytm@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |simen.endsjo@pandavre.com


--- Comment #2 from kennytm@gmail.com 2011-05-02 14:25:07 PDT ---
*** Issue 4649 has been marked as a duplicate of this issue. ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 02, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=3800


Andrei Alexandrescu <andrei@metalanguage.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |andrei@metalanguage.com
         AssignedTo|nobody@puremagic.com        |andrei@metalanguage.com


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 23, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=3800



--- Comment #3 from github-bugzilla@puremagic.com 2012-01-23 14:50:43 PST ---
Commit pushed to https://github.com/D-Programming-Language/d-programming-language.org

https://github.com/D-Programming-Language/d-programming-language.org/commit/baa8b09e9f34d25d5412f029e94074bc972213af
fix Issue 3800 - 'Foreach over Structs and Classes with Ranges' and 'Invariant
Struct' in D2 Spec

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 23, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=3800


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
                 CC|                            |bugzilla@digitalmars.com
         Resolution|                            |FIXED


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 23, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=3800



--- Comment #4 from Andrei Alexandrescu <andrei@metalanguage.com> 2012-01-23 15:12:35 PST ---
resynced

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