digitalmars.D.bugs - [Issue 1318] New: scope + ref/out parameters are allowed, contrary to spec
- d-bugmail puremagic.com (17/18) Jul 05 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1318
- d-bugmail puremagic.com (9/9) Jul 30 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1318
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
http://d.puremagic.com/issues/show_bug.cgi?id=1318 bugzilla digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #1 from bugzilla digitalmars.com 2007-07-30 15:49 ------- Fixed DMD 2.003 --
Jul 30 2007