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



--- Comment #28 from Andrei Alexandrescu <and...@metalanguage.com> 2010-11-27 
10:10:58 PST ---
(In reply to comment #27)
> (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.

Ah, you mean "base" not "bad". Sorry! Conversion Derived[] -> const(Base)[] is
fine because the resulting array is not an lvalue.

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

Reply via email to