🎉 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!

Crash on temp string objects

Started by
2 comments, last by WitchLord 3 years, 5 months ago

Hi.

Program crashed on run that code:

string("aaaa").findFirst("v");

I was test it in asrun, with sdtstring. Test sample:

print("" + "aaaa".findFirst("v"));         // worked
print("" + string("aaaa").findFirst("v")); // crashed, in StringFindFirst come invalid address

Advertisement

Thanks for the report.

I'll investigate and have this fixed as soon as possible.

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

I've fixed this in revision 2687.

Regards,
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

This topic is closed to new replies.

Advertisement