Jump to content

  • Log In with Google      Sign In   
  • Create Account

- - - - -

assert caused by implicit conversion


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
1 reply to this topic

#1 abrken   Members   -  Reputation: 130

Like
0Likes
Like

Posted 27 October 2004 - 11:38 PM

To reproduce in 1.9.2a : Script :
int iTest=5;
int iTestOut = (iTest == 5) ? 20 : 30;
Result in Debug mode : Assertion failed: !bc || bc->GetLastCode() == BC_SET4, file \angelscript_1.9.2a\angelscript\source\as_compiler.cpp, line 2206 In release mode, no pb. Workaround : Script :
int iTest=5;
int iTestOut = (iTest == 5) ? int(20) : int(30);
Regards, AbrKen.

Sponsor:

#2 Andreas Jonsson   Moderators   -  Reputation: 3376

Like
0Likes
Like

Posted 28 October 2004 - 03:27 AM

I'll look into this during the day.
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