www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 1318] New: scope + ref/out parameters are allowed, contrary to spec

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1318

           Summary: scope + ref/out parameters are allowed, contrary to spec
           Product: D
           Version: 2.002
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: accepts-invalid, spec
          Severity: trivial
          Priority: P3
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: thecybershadow gmail.com


From http://www.digitalmars.com/d/attribute.html :

 scope cannot be applied to globals, statics, data members, ref or out
parameters.
However, this is not fully enforced - the compiler accepts "scope ref" and "scope out" parameters in function argument lists. --
Jul 05 2007
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1318


bugzilla digitalmars.com changed:

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





Fixed DMD 2.003


-- 
Jul 30 2007