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

Started by
1 comment, last by WitchLord 10 years, 2 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;
}
Advertisement

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

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