www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 3035] New: "cannot have const/invariant out parameter of type shared"

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

           Summary: "cannot have const/invariant out parameter of type
                    shared"
           Product: D
           Version: 2.030
          Platform: PC
        OS/Version: All
            Status: NEW
          Keywords: patch, rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: rsinfu gmail.com


Created an attachment (id=385)
 --> (http://d.puremagic.com/issues/attachment.cgi?id=385)
Fix the problem (DMD 2.030)

DMD 2.030 rejects this valid code:
--------------------
void foo(out shared int o) {}
--------------------
test.d(1): Error: cannot have const/invariant out parameter of type shared(int)
--------------------

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 28 2009
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3035


Leandro Lucarella <llucax gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |llucax gmail.com


--- Comment #1 from Leandro Lucarella <llucax gmail.com> 2009-10-29 06:49:35
PDT ---
Related SVN revision: http://www.dsource.org/projects/dmd/changeset/222

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 29 2009
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3035


Walter Bright <bugzilla digitalmars.com> changed:

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


--- Comment #2 from Walter Bright <bugzilla digitalmars.com> 2009-11-06
11:33:15 PST ---
Fixed dmd 2.036

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