Steven Schveighoffer <> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |
         Resolution|                            |DUPLICATE

--- Comment #1 from Steven Schveighoffer <> 2011-03-09 
05:41:07 PST ---
(In reply to comment #0)
> As a workaround, I found :
> A[] ar = [b, cast(A)c];
> In fact, all items except the first one have to be casted. 

No, this is not the case.  You can cast the whole array literal, or you can
cast one element to A (any element will do).

Marking as duplicate.

*** This issue has been marked as a duplicate of issue 5498 ***

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

Reply via email to