Thread overview
[Issue 920] New: Auto classes referenced where scope should be used
Feb 02, 2007
d-bugmail
Dec 08, 2008
d-bugmail
Dec 08, 2008
d-bugmail
Jan 01, 2009
d-bugmail
Apr 01, 2009
d-bugmail
Apr 01, 2009
d-bugmail
February 02, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=920

           Summary: Auto classes referenced where scope should be used
           Product: D
           Version: 1.004
          Platform: All
               URL: http://www.digitalmars.com/d/statement.html#ScopeGuardSt
                    atement
        OS/Version: All
            Status: NEW
          Keywords: spec
          Severity: normal
          Priority: P3
         Component: www.digitalmars.com
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: deewiant@gmail.com


The phrase "auto instances" is used, and the third, longest, block of code uses "auto Foo f" where it should use "scope Foo f".


-- 

December 08, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=920


bugzilla@digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #1 from bugzilla@digitalmars.com  2008-12-08 00:56 -------
Fixed in DMD 2.021


-- 

December 08, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=920


matti.niemenmaa+dbugzilla@iki.fi changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




------- Comment #2 from matti.niemenmaa+dbugzilla@iki.fi  2008-12-08 02:49 -------
This bug was reported against 1.0, and the 1.0 docs still exhibit both of these anachronisms: http://www.digitalmars.com/d/1.0/statement.html#ScopeGuardStatement


-- 

January 01, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=920





------- Comment #3 from braddr@puremagic.com  2009-01-01 02:29 -------
Looks like almost all of the cases are fixed, but there's still one more.  In the Return Statement block:

==== snip ====
Before the function actually returns, any objects with auto storage duration
are destroyed,
==== end snip ====

This is the case for both the 1.0 and 2.0 versions of the page.


-- 

April 01, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=920


matti.niemenmaa+dbugzilla@iki.fi changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED




------- Comment #4 from matti.niemenmaa+dbugzilla@iki.fi  2009-04-01 11:52 -------
Fixed with DMD 1.042.


-- 

April 01, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=920





------- Comment #5 from bugzilla@digitalmars.com  2009-04-01 13:46 -------
Fixed DMD 1.042 and 2.027


--