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

--- Comment #0 from Kenji Hara <> 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]));

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

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to