🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

assert caused by implicit conversion

Started by
0 comments, last by WitchLord 19 years, 8 months ago
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.
Advertisement
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

This topic is closed to new replies.

Advertisement