http://d.puremagic.com/issues/show_bug.cgi?id=7304

           Summary: Online docs incorrect with regards to covariant arrays
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: websites
        AssignedTo: nob...@puremagic.com
        ReportedBy: jmdavisp...@gmx.com


--- Comment #0 from Jonathan M Davis <jmdavisp...@gmx.com> 2012-01-17 16:01:04 
PST ---
http://www.d-programming-language.org/arrays.html

The docs claim that

A dynamic array T[] can be implicitly converted to one of the following:

U[]
void[]
Where U is a base class of T.

Now that bug# 2095 has been fixed, this is incorrect. It should say

const(U)[]
const(U[])
void[]
Where U is a base class of T.

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

Reply via email to