Bug 7304 – Online docs incorrect with regards to covariant arrays

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dlang.org
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-01-17T16:01:00Z
Last change time
2015-06-09T05:15:21Z
Assigned to
nobody
Creator
issues.dlang

Comments

Comment #0 by issues.dlang — 2012-01-17T16:01:04Z
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.
Comment #1 by github-bugzilla — 2013-02-06T22:50:57Z