• Advertisement
Sign in to follow this  

bug!

This topic is 4068 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 found a problem, but possible my mistake. Write a as code and save it as bytecode to a file. The code can very sample, e.g: void Test(int i) { } Then, reload the file and run it, use : ExecuteString("Test(3)") The will arouse a VC assert dialog and tell me: index < length If the "Test" function has no any parameters, the will no errors. And if you dont use a bytecode file, direct load the text code and compile it then ExecuteString("Test(3)"), the will no any problem. Why?

Share this post


Link to post
Share on other sites
Advertisement
It's obviously a bug somewhere inside AngelScript, otherwise the assert wouldn't have failed.

I'll look into this as soon as I can. Thanks for notifying me.

Are you using version 2.7.1a? Or another version?

Regards,
Andreas

Share this post


Link to post
Share on other sites
I've fixed the bug. For the 2.8.0 WIP version the fix is in revision 87 in the SVN.

I'll make a branch for 2.7.1a and apply the fix to that version as well soon.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement