[Issue 2095] covariance w/o typechecks = bugs

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Nov 27 06:33:31 PST 2010


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



--- Comment #27 from Andrei Alexandrescu <andrei at metalanguage.com> 2010-11-27 06:32:03 PST ---
(In reply to comment #26)
> If derived[] is implicitly converted to const(base)[], what happens when I
> append another bade object to the array? Should it implicitly convert to
> const(base[])?

You can't append a bad object to a const array.

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


More information about the Digitalmars-d-bugs mailing list