Archived

This topic is now archived and is closed to further replies.

Compile issue

This topic is 4985 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''ve been experiencing a problem with scripts being compiled when an error should have been reported instead. Suppose I expose this method: CAudio :: PlaySound(HAudio hAudio, bool bLoop) If I forget to pass the second parameter bool while writing my script, the script is still compiled and no errors are returned. This seems like it should be a compile error. I have a lot of methods exposed and I occasionally forget some of the parameters. The behaviour at this point is unpredictable. Sometimes things ''seem'' to work, sometimes things dont work as expected, and other times it simply crashes the app. Still working with v1.7.0 at the moment

Share this post


Link to post
Share on other sites
This looks like it could be related to a bug in the function overloading code. I''m still confirming this but I believe I''ll have fix out in a couple of days.



__________________________________________________________
www.AngelCode.com - game development and more...
AngelScript - free scripting library - Tower - free puzzle game

Share this post


Link to post
Share on other sites