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


Andrei Alexandrescu <and...@metalanguage.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |and...@metalanguage.com
         AssignedTo|nob...@puremagic.com        |bugzi...@digitalmars.com


--- Comment #25 from Andrei Alexandrescu <and...@metalanguage.com> 2010-11-27 
05:58:02 PST ---
Elevating importance of this as it's a big hole in the type system. Please vote
up.

Solution: Derived[] can be implicitly converted to const(Base)[] in all
situation where pointer adjustment is not needed for converting Derived to
Base. Conversion from Derived[] to Base[] must be rejected statically.

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

Reply via email to