Thread overview
[Issue 7669] New: Broken inout deduction with static array type
Mar 08, 2012
Kenji Hara
Mar 11, 2012
Kenji Hara
Mar 11, 2012
Walter Bright
March 08, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7669

           Summary: Broken inout deduction with static array type
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: k.hara.pg@gmail.com


--- Comment #0 from Kenji Hara <k.hara.pg@gmail.com> 2012-03-08 04:53:49 PST ---
test case:
--------
shared(inout U)[n] id(U, size_t n)( shared(inout U)[n] );
void main()
{
    static assert(is(typeof( id((shared(int)[3]).init)) == shared(int)[3]));
}

output:
--------
test.d(4): Error: static assert  (is(shared(inout(int)[3u]) ==
shared(int[3u]))) is false

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


Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull, rejects-valid


--- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2012-03-11 06:59:01 PDT ---
https://github.com/D-Programming-Language/dmd/pull/800

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


Walter Bright <bugzilla@digitalmars.com> changed:

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


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