Jump to content

  • Log In with Google      Sign In   
  • Create Account

- - - - -

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


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 FDsagizi   Members   -  Reputation: 514

Like
0Likes
Like

Posted 22 January 2014 - 02:08 AM

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;
}


Sponsor:

#2 Andreas Jonsson   Moderators   -  Reputation: 3443

Like
0Likes
Like

Posted 22 January 2014 - 06:15 AM

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

#3 Andreas Jonsson   Moderators   -  Reputation: 3443

Like
0Likes
Like

Posted 23 January 2014 - 05:58 PM

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




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS