Advertisement

Implicit downcast not works

Started by August 01, 2014 01:36 PM
1 comment, last by WitchLord 10 years, 6 months ago

AngelScript revision 1982.


class A
{
}

class B : A
{
}

A@ a = B();

INFO : Compiling A@ a.
ERROR : Can't implicitly convert from 'B@&' to 'A@&'.

Odd.

I'll look into it.

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

Advertisement

Fixed in revision 1987.

Thanks,

Andreas

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

This topic is closed to new replies.

Advertisement