[dmd-beta] D2 2.058 beta 3

Mike Wey mike at mikewey.eu
Sun Feb 12 12:56:09 PST 2012


On 02/12/2012 09:08 PM, Walter Bright wrote:
>
> It's a Base, not an Object. It can be converted to an Object. 

Doesn't that break Polymorphism?

You should be able to use Base as if it is an Object without a cast.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/dmd-beta/attachments/20120212/cbba3d26/attachment.html>


More information about the dmd-beta mailing list