Best error msg ever

Kagamin via Digitalmars-d digitalmars-d at puremagic.com
Mon Feb 13 07:09:31 PST 2017


On Monday, 13 February 2017 at 14:46:38 UTC, Mike Parker wrote:
> "References cannot be upcast to the enclosing class object, nor 
> can they be downcast to a derived interface."
>
> https://dlang.org/spec/interface.html#com-interfaces

COM interfaces can't be downcasted indeed, but it should be 
possible for D interfaces.


More information about the Digitalmars-d mailing list