Advertisement

Can't implicitly convert from 'const TestClass@' to 'TestClass@&'.

Started by January 22, 2014 08:08 AM
1 comment, last by WitchLord 10 years, 10 months ago

Hi smile.png Im here againe) And soon show our game)

Today update for new AS from svn. and found bug:

Message : Can't implicitly convert from 'const TestClass@' to 'TestClass@&'.

Sample code:


class TestClass{}

void Test(){
   array<TestClass@> test;
   TestClass @s = test.Size() > 0 ? test[i] : null;
}

Thanks, I'll look into this.

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

I've fixed this in revision 1815.

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